Failover Decision • AI Agent SDK

FailoverDecision: Discriminated struct for retry and failover decisions.

FailoverDecision

Defined in the errors module.

AI Agent

Discriminated struct for retry and failover decisions.

Separates classification (error kind) from action (what to do), making the policy independently testable and overridable.

Properties

ResponseField Literal

No description available.

ResponseField AgentErrorKind

No description available.

ResponseField int

No description available.

ResponseField bool

No description available.

Source

View on GitHub

praisonaiagents/errors.py at line 37