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: make type object subscriptable
Krrish Dholakia2c5b2da9558c
diff --git a/litellm/router.py b/litellm/router.pyindex d1c410e7865..7fe5c2fb94b 100644--- a/litellm/router.py+++ b/litellm/router.py@@ -618,7 +618,7 @@ class Router:@staticmethoddef _create_redis_cache(- cache_config: dict[str, Any]+ cache_config: Dict[str, Any]) -> RedisCache | RedisClusterCache:if cache_config.get("startup_nodes"):return RedisClusterCache(**cache_config)