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 EventDrivenCacheCoordinator

Ishaan Jafferd53ef30f75fb
diff --git a/litellm/proxy/common_utils/cache_coordinator.py b/litellm/proxy/common_utils/cache_coordinator.py
index 60d7e3947a6..9b07def125b 100644
--- a/litellm/proxy/common_utils/cache_coordinator.py
+++ b/litellm/proxy/common_utils/cache_coordinator.py
@@ -48,7 +48,7 @@ class EventDrivenCacheCoordinator:
async def _get_cached(
self, cache_key: str, cache: AsyncCacheProtocol
- ) -> Optional[T]:
+ ) -> Optional[Any]:
"""Return value from cache if present, else None."""
return await cache.async_get_cache(key=cache_key)