org.llm4s.agent.graph.toolloop.LoopAgent
See theLoopAgent companion object
One agent of a ToolLoop family: its model, tools, middleware, system prompt, step limit and handoffs. Its nodes are prefixed with its id.
Value parameters
- maxSteps
-
the limit this agent's model node applies to the turn's step count, which every agent of the turn shares: at it the turn ends with TurnOutcome.StepLimitReached instead of a further call, so an agent handed a turn that has already used its limit makes no call
- systemPrompt
-
sent first on every model call of this agent, never stored in the history
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article