fix set Caching Default Off

This commit is contained in:
Ishaan Jaff 2024-08-24 09:43:39 -07:00
parent feb354d3bc
commit 74f0e60962
3 changed files with 79 additions and 19 deletions

View file

@ -1604,7 +1604,7 @@ class ProxyConfig:
self._init_cache(cache_params=cache_params)
if litellm.cache is not None:
verbose_proxy_logger.debug( # noqa
f"{blue_color_code}Set Cache on LiteLLM Proxy: {vars(litellm.cache.cache)}{reset_color_code}"
f"{blue_color_code}Set Cache on LiteLLM Proxy= {vars(litellm.cache.cache)}{vars(litellm.cache)}{reset_color_code}"
)
elif key == "cache" and value is False:
pass