litellm/tests/unit/proxy/auth
yassin aaeee9d82a fix(proxy): charge over-budget reservation counters one at a time and read update_cache objects unthrottled
The reservation pipeline now only spans counters the admission MGET says still fit the estimate; once one does not, counters are charged serially so a rejection or resize never inflates a sibling counter. update_cache reads its cached objects through async_batch_get_cache(throttle_redis=False) so a key that missed memory moments ago is still fetched from Redis, as the per-key GET it replaces did.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-27 00:16:44 +00:00
..
__init__.py
test_auth_checks.py
test_default_end_user_budget_simple.py
test_jwt.py
test_models_fallback_endpoint.py
test_multipart_bypass_repro.py
test_proxy_routes.py
test_user_api_key_auth.py