org.llm4s.agent.Suspension
See theSuspension companion object
@Stable
What a suspended turn waits on (AgentStatus.Suspended), each interrupt keyed by its id.
delegated lists the interrupts of suspended subagents (design 4.46), flattened: each child interrupt under the composite id <parent interrupt>~<child interrupt> (a grandchild's p~c~g), with the child run that waits. The AgentResult helpers answer them by that id, encoding the answer the child expects, and Agent.resume routes each to its child through the parent. A task call waiting on its child is listed only here, never in questions.
Value parameters
- approvals
-
tool calls waiting for approval
- breakpoints
-
static breakpoints holding a task
- delegated
-
interrupts of suspended subagents
- middlewareQuestions
-
questions middleware asked
- questions
-
questions tools asked
Attributes
- Companion
- object
- Source
- AgentResult.scala
- Graph
-
- Supertypes
Members list
In this article
