From 45048ee006eccd9b89d271e08355ddeebb5340ea Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 21 Aug 2024 15:35:10 -0700 Subject: [PATCH] fix(router.py): fix linting error --- litellm/router.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litellm/router.py b/litellm/router.py index e261c1743d..7a938f5c4e 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