FailoverManager
Defined in the failover module.Rust AI Agent SDK Manages failover between multiple LLM auth profiles. Provides automatic failover when rate limits or errors occur, with configurable retry behavior and cooldown periods.
Fields
Methods
new
default_config
add_profile
remove_profile
get_profile
get_profile_mut
list_profiles
get_next_profile
mark_failure
mark_success
on_failover
get_retry_delay
status
reset_all
len
is_empty
Source
View on GitHub
praisonai/src/failover/mod.rs at line 292
