Skip to main content

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

int
No description available.
float
No description available.
bool
No description available.
float
No description available.
float
No description available.
float
No description available.
bool
No description available.
  • to_dict: Convert to dictionary.

Source

View on GitHub

praisonaiagents/llm/failover.py at line 146

Configuration Overview

Agent Config