Skip to main content

failover

AI Agent Model Failover for PraisonAI Agents. Provides auth profile management and automatic failover between LLM providers when rate limits or errors occur. This module is lightweight and protocol-driven. Heavy implementations live in the praisonai wrapper.

Import

from praisonaiagents.llm import failover

Classes

ProviderStatus

Status of an LLM provider.

AuthProfile

Authentication profile for an LLM provider.

FailoverProtocol

Protocol for failover management.

FailoverConfig

Configuration for failover behavior.

FailoverManager

Manages failover between multiple LLM auth profiles.