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 async_set_cache
Ishaan Jaffc4e8b9607d93
diff --git a/litellm/caching/redis_cache.py b/litellm/caching/redis_cache.pyindex 1d553c9c80d..31e11abf97c 100644--- a/litellm/caching/redis_cache.py+++ b/litellm/caching/redis_cache.py@@ -303,7 +303,7 @@ class RedisCache(BaseCache):raise ekey = self.check_and_fix_namespace(key=key)- ttl = self.get_ttl(**kwargs) or kwargs.get("ex", None)+ ttl = self.get_ttl(**kwargs)nx = kwargs.get("nx", False)print_verbose(f"Set ASYNC Redis Cache: key: {key}\nValue {value}\nttl={ttl}")