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
TerminalReason
No description available.
Optional[str]
No description available.
Optional[str]
No description available.
Methods
completed()
Class method.
from_exception()
Normalise a raised exception into a canonical terminal outcome.
succeeded()
True only when the run completed normally.
Source
View on GitHub
praisonaiagents/agent/run_outcome.py at line 37
