DelegatedQuestion

org.llm4s.agent.delegation.DelegatedQuestion
See theDelegatedQuestion companion object
@Experimental
final case class DelegatedQuestion(child: ChildRef, pending: Vector[ChildInterrupt])

The question a task tool asks when its child suspends (design 4.46): the child run, and every interrupt it waits on. Its answer is a DelegatedAnswers. Application code does not answer it directly: the parent's AgentStatus.Suspended.delegated lists each pending child interrupt under a composite id, which the answer helpers (approve, reject, edit, reply, proceed) and Agent.resume take unchanged.

Attributes

Companion
object
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