Skip to main content

Module failover

Module failover 

Source
Expand description

Model failover and auth profile rotation.

Provides automatic failover when a model provider returns errors, and rotation through multiple auth profiles (API keys) for load distribution and rate-limit avoidance.

Structs§

AuthProfile
An auth profile — a named set of credentials for a provider.
FailoverConfig
Failover configuration for a provider.
FailoverManager
Model failover manager.
HealthStats
Health statistics snapshot.
HealthTracker
Tracks the health of a model/profile combination.

Enums§

FailoverStrategy
Failover strategy.