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)