The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix test_proxy_logging_setup
Ishaan Jaff9c573cda0a80
diff --git a/litellm/tests/test_caching.py b/litellm/tests/test_caching.pyindex 660cf68ea95..a272d2dcf3b 100644--- a/litellm/tests/test_caching.py+++ b/litellm/tests/test_caching.py@@ -1992,7 +1992,8 @@ async def test_proxy_logging_setup():"""Assert always_read_redis is True when used by internal usage cache"""+ from litellm.caching import DualCachefrom litellm.proxy.utils import ProxyLogging- pl_obj = ProxyLogging()+ pl_obj = ProxyLogging(user_api_key_cache=DualCache())assert pl_obj.internal_usage_cache.always_read_redis is True