ChildFailure

org.llm4s.agent.delegation.ChildFailure
@Experimental

What a parent does when a child run fails (design 4.44): a provider error, a tool's Fatal, or a refusal - the child was blocked, reached its step limit, or its typed answer failed its schema.

Attributes

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

Members list

Type members

Enum entries

case Fail extends ChildFailure

The parent run fails with the child's error (GraphError.ToolFailed); the parent's recover runs the call again, which continues the child from its own checkpoint rather than starting it again.

The parent run fails with the child's error (GraphError.ToolFailed); the parent's recover runs the call again, which continues the child from its own checkpoint rather than starting it again.

Attributes

case Report extends ChildFailure

The default: the parent model sees the failure as the task call's tool error, naming the subagent, the child thread and the reason, and can compose without the child. The child thread stays for inspection.

The default: the parent model sees the failure as the task call's tool error, naming the subagent, the child thread and the reason, and can compose without the child. The child thread stays for inspection.

Attributes