Expand description
Rate limiter with exponential backoff and circuit breaker integration.
Provides per-provider rate limiting that respects 429 responses and backs off exponentially to avoid burning API budget.
§Feature flag
Rate limit backoff is controlled by the RATE_LIMIT_BACKOFF_ENABLED
environment variable (default: false for backward compatibility).
Structs§
- Rate
Limiter - Per-provider rate limit tracker with exponential backoff.
Functions§
- is_
rate_ limit_ backoff_ enabled - Whether rate limit backoff is enabled via environment variable.