LoopKeys

org.llm4s.agent.graph.toolloop.LoopKeys
object LoopKeys

State keys the tool loop owns: no tool or middleware may declare them.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LoopKeys.type

Members list

Value members

Concrete fields

The agent the thread is with: unset on a new thread, which starts with the root. An update replaces it.

The agent the thread is with: unset on a new thread, which starts with the root. An update replaces it.

Attributes

val transfer: StateKey[Option[Transfer], Option[Transfer]]

The thread's last handoff, if any; each transfer replaces it, and an output Block restores the turn's start.

The thread's last handoff, if any; each transfer replaces it, and an output Block restores the turn's start.

Attributes

The current turn's step count and outcome; input resets it.

The current turn's step count and outcome; input resets it.

Attributes

Usage accumulated over the thread, per model. An update is one call's summary, merged into the total.

Usage accumulated over the thread, per model. An update is one call's summary, merged into the total.

Attributes