mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
/sso/cli/start propagated a raw redis ConnectionError as a 500 because the per-IP rate-limit increment is the one cache path that re-raises. The Redis-authoritative flow write had the opposite problem: it silently swallowed the failure, stored the login session nowhere, and deferred the error to a confusing 400 at poll time. Both now fail closed with a deliberate 503 telling the operator the configured Redis cache is unreachable. RedisCache.set_cache gains an opt-in raise_on_error flag (default False, existing callers unchanged) so callers whose data lives only in Redis can hear about failed writes. |
||
|---|---|---|
| .. | ||
| test_azure_blob_cache.py | ||
| test_caching.py | ||
| test_caching_handler.py | ||
| test_check_and_fix_namespace_none_guard.py | ||
| test_disk_cache.py | ||
| test_dual_cache.py | ||
| test_embedding_router.py | ||
| test_gcs_cache.py | ||
| test_in_memory_cache.py | ||
| test_llm_caching_handler.py | ||
| test_llm_client_cache_e2e.py | ||
| test_qdrant_semantic_cache.py | ||
| test_redis_cache.py | ||
| test_redis_cluster_cache.py | ||
| test_redis_connection_pool.py | ||
| test_redis_semantic_cache.py | ||
| test_s3_cache.py | ||
| test_valkey_semantic_cache.py | ||