Skip to content

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]

fix(router.py): fix linting error

Krrish Dholakia008fa494a772
diff --git a/litellm/router.py b/litellm/router.py
index e261c1743db..7a938f5c4e1 100644
--- a/litellm/router.py
+++ b/litellm/router.py
@@ -277,7 +277,8 @@ class Router:
"local" # default to an in-memory cache
)
redis_cache = None
- cache_config = {}
+ cache_config: Dict[str, Any] = {}
+
self.client_ttl = client_ttl
if redis_url is not None or (
redis_host is not None