SubagentStopInput
Defined in the events module.AI Agent Input for SUBAGENT_STOP hooks (a spawned subagent reached a terminal state). Emitted from the single completion chokepoint in
tools/subagent_tool.py, so it covers every path: synchronous spawns,
background=True jobs, resolver-routed named agents, generic factory
spawns, and failures. success is False (with error populated) when
the subagent raised.
agent_name on the base :class:HookInput carries the subagent name.
Properties
str
No description available.
bool
No description available.
Any
No description available.
Optional[str]
No description available.
Optional[str]
No description available.
Optional[str]
No description available.
int
No description available.
float
No description available.
Internal & Generic Methods
Internal & Generic Methods
- to_dict: Generic utility method.
Source
View on GitHub
praisonaiagents/hooks/events.py at line 578
