TurnState

org.llm4s.agent.graph.toolloop.TurnState
final case class TurnState(steps: Int, outcome: Option[TurnOutcome], startAgent: Option[AgentId], startTransfer: Option[Transfer])

The current turn: the model calls it has made, its outcome once it has one, and the agent and transfer it started with - which an output Block restores when it removes the turn. Reset by each turn's input.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product