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: fix type
Krrish Dholakia0b5deb275615
diff --git a/litellm/router.py b/litellm/router.pyindex 7fe5c2fb94b..b16a84e11af 100644--- a/litellm/router.py+++ b/litellm/router.py@@ -619,7 +619,7 @@ class Router:@staticmethoddef _create_redis_cache(cache_config: Dict[str, Any]- ) -> RedisCache | RedisClusterCache:+ ) -> Union[RedisCache, RedisClusterCache]:if cache_config.get("startup_nodes"):return RedisClusterCache(**cache_config)else: