Skip to main content

JobCompletedInput

Defined in the events module.
AI Agent Input for JOB_COMPLETED hooks (a background job finished). Emitted when a background subagent/job launched via spawn_subagent(background=True) reaches a terminal state (completed or failed). Carries the optional origin/delivery context captured at spawn time so a gateway can route the result back to the originating conversation without an active turn.

Properties

str
No description available.
str
No description available.
Any
No description available.
Optional[str]
No description available.
str
No description available.
str
No description available.
str
No description available.
str
No description available.
  • to_dict: Generic utility method.

Source

View on GitHub

praisonaiagents/hooks/events.py at line 465

Async Jobs

Background Tasks