mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
The io-token check reserves, reconciles and refunds its global_router itpm and otpm counters through the native router_usage store, so ModelRateLimitingCheck keeps no DualCache. A reservation stashes its counter's fields in the request metadata instead of a Redis key, so nothing parses a key back into ids. The Redis keys and values are unchanged, pinned by contract tests on both sides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auth_cache_double.py | ||
| fake_rate_limits.py | ||
| router_usage_double.py | ||
| spend_counters_double.py | ||
| test_auth_cache.py | ||
| test_connection.py | ||
| test_rate_limits.py | ||
| test_router_cooldowns.py | ||
| test_router_usage.py | ||
| test_spend_counters.py | ||