Skip to main content

Module credential_pool

Module credential_pool 

Source
Expand description

Credential pool with automatic failover on rate-limit errors.

Supports multiple API keys per provider. Rotates keys on 429/rate-limit responses and tracks which keys are temporarily disabled.

Structsยง

CredentialEntry
A single credential entry with health tracking.
CredentialPool
Pool of credentials per provider with round-robin selection and failover.