PendingInterrupt

org.llm4s.agent.graph.PendingInterrupt
final case class PendingInterrupt(id: InterruptId, resumeNode: NodeId, question: Value, breakpoint: Option[BreakpointPhase])

A parked continuation, as reported by a suspended run. For a task a static breakpoint holds, breakpoint is its phase, resumeNode is the held task's own node, and question is the task's input before it ran, or JSON null after; answer it with Breakpoint.proceed.

Attributes

Source
GraphNode.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product