Run Outcome • AI Agent SDK

RunOutcome: Closed, canonical description of how an agent run ended.

RunOutcome

Defined in the Run Outcome module.

AI Agent

Closed, canonical description of how an agent run ended.

Attributes: reason: One of `completed | hard_timeout | cancelled | aborted | failed. output: Partial or final text, if any. error: Redacted message when reason == "failed"`.

Properties

ResponseField TerminalReason

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

Methods

Source

View on GitHub

praisonaiagents/agent/run_outcome.py at line 55