TurnState
org.llm4s.agent.graph.toolloop.TurnState
The current turn: the model calls it has made, its outcome once it has one, and what an output Block restores when it retracts the turn - the agent and transfer it started with, and priorValues: by key id, each key the turn may write, as it was before the turn and as the turn left it (PriorValue), one entry per key. Reset by each turn's input; a turn that ends clears priorValues (design ยง4.22).
Attributes
- Source
- LoopAgent.scala
- Graph
-
- Supertypes
Members list
In this article
