Job Completed Input • AI Agent SDK

JobCompletedInput: Input for JOB_COMPLETED hooks (a background job finished).

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

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField Any

No description available.

ResponseField Optional[str]

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

Internal & Generic Methods
  • to_dict: Generic utility method.

Source

View on GitHub

praisonaiagents/hooks/events.py at line 556


Related Documentation