Is Failure • AI Agent SDK
is_failure: Check if the outcome represents any kind of failure.
is_failure
Method
</div>
This is a method of the AgentRunOutcome class in the run_outcome module.
Check if the outcome represents any kind of failure.
Signature
def is_failure() -> boolReturns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/run_outcome.py at line 145