Failover Protocol • AI Agent SDK
FailoverProtocol: Deprecated structural protocol for failover managers.
FailoverProtocol
Defined in the failover module.
AI Agent
Deprecated structural protocol for failover managers.
Retained only for backward compatibility with code that imports the deep path `praisonaiagents.llm.failover.FailoverProtocol or uses it for isinstance checks. FailoverManager already satisfies this shape. Prefer the public LLMFailoverProtocol (exported from praisonaiagents.llm`) for new code.
Methods
get_next_profile()
Get the next available profile.
mark_failure()Mark a profile as failed.
mark_success()Mark a profile as successful.
Source
View on GitHubpraisonaiagents/llm/failover.py at line 567