Failover Config • AI Agent SDK
FailoverConfig: Configuration for failover behavior.
FailoverConfig
Defined in the failover module.
AI Agent
Configuration for failover behavior.
Attributes: max_retries: Maximum retry attempts per request retry_delay: Base delay between retries (seconds) exponential_backoff: Whether to use exponential backoff max_retry_delay: Maximum retry delay (seconds) cooldown_on_rate_limit: Cooldown duration for rate limits (seconds) cooldown_on_error: Cooldown duration for errors (seconds) rotate_on_success: Whether to rotate profiles on success
Properties
intNo description available.
floatNo description available.
boolNo description available.
floatNo description available.
floatNo description available.
floatNo description available.
boolNo description available.
Internal & Generic Methods
- to_dict: Convert to dictionary.
Source
View on GitHubpraisonaiagents/llm/failover.py at line 173