litellm/tests/unit/redis/stores
Yujong Lee b5a7064faf refactor(router): count io-token itpm and otpm on the native router_usage store
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>
2026-11-10 16:45:58 +09:00
..
__init__.py feat(redis): extend the native Redis foundation for the store families (#50169) 2026-11-06 12:30:07 +09:00
auth_cache_double.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
fake_rate_limits.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
router_usage_double.py refactor(router): count io-token itpm and otpm on the native router_usage store 2026-11-10 16:45:58 +09:00
spend_counters_double.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_auth_cache.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_connection.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_rate_limits.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_router_cooldowns.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_router_usage.py refactor(router): count usage-based-routing-v2 and model rate limits on the native router_usage store 2026-11-10 16:23:04 +09:00
test_spend_counters.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00