View Source Agens.Job.Step (agens v0.1.2)

The Step struct defines a single step within a Job.

Fields

  • agent - The name of the agent to be used in the Step.
  • objective - An optional string to be added to the LM prompt explaining the purpose of the Step.
  • conditions - An optional conditions map to control flow based on the result of the agent.

Summary

Types

@type t() :: %Agens.Job.Step{
  agent: atom(),
  conditions: map() | nil,
  objective: String.t() | nil
}