mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
MCP state, JWKS and OIDC documents, UI settings, SSO login state and the no-budget-window marker each get a DualCache of their own, with the keys and values they had in the auth cache. They attach to Redis when enable_redis_auth_cache does, and they still follow user_api_key_cache_ttl and user_api_key_cache_max_size A pre-call hook is handed a HookCache. It keeps the hook's own state, and it still reads auth objects by cache key and deletes them from the auth cache, which is what a hook written against the old shared cache expects |
||
|---|---|---|
| .. | ||
| steps | ||
| __init__.py | ||
| test_answer.py | ||
| test_facts.py | ||
| test_identity.py | ||
| test_python.py | ||