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
test(test_caching_handler.py): move to in-memory cache - prevent redis flakiness from impacting ci/cd
Krrish Dholakia8c9ff23e195e
diff --git a/tests/local_testing/test_caching_handler.py b/tests/local_testing/test_caching_handler.pyindex c2466000c4a..c0e3b8d306a 100644--- a/tests/local_testing/test_caching_handler.py+++ b/tests/local_testing/test_caching_handler.py@@ -40,12 +40,7 @@ import loggingdef setup_cache():# Set up the cache- cache = Cache(- type=LiteLLMCacheType.REDIS,- host=os.environ["REDIS_HOST"],- port=os.environ["REDIS_PORT"],- password=os.environ["REDIS_PASSWORD"],- )+ cache = Cache(type=LiteLLMCacheType.LOCAL)litellm.cache = cachereturn cache