From 1917ee7fcfd507a8c0e58df7d28255984a7aa48a Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Sat, 9 Mar 2024 16:24:04 -0800 Subject: [PATCH] (feat) debug when in meory cache is used --- litellm/caching.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/caching.py b/litellm/caching.py index bf11f4c39..2b043f88b 100644 --- a/litellm/caching.py +++ b/litellm/caching.py @@ -48,6 +48,7 @@ class InMemoryCache(BaseCache): self.ttl_dict = {} def set_cache(self, key, value, **kwargs): + print_verbose("InMemoryCache: set_cache") self.cache_dict[key] = value if "ttl" in kwargs: self.ttl_dict[key] = time.time() + kwargs["ttl"]