Skip to main content

FailoverConfig

Defined in the failover module.
Rust AI Agent SDK Configuration for failover behavior.

Fields

Methods

new

Create a new config with defaults

max_retries

Set max retries Parameters:

retry_delay

Set retry delay Parameters:

exponential_backoff

Set exponential backoff Parameters:

max_retry_delay

Set max retry delay Parameters:

cooldown_on_rate_limit

Set cooldown on rate limit Parameters:

cooldown_on_error

Set cooldown on error Parameters:

Source

View on GitHub

praisonai/src/failover/mod.rs at line 211

Rust Configuration

Rust Installation

Rust Failover

Rust Retry