feat(caching.py): redis cluster support

Closes https://github.com/BerriAI/litellm/issues/4358
This commit is contained in:
Krrish Dholakia 2024-08-21 15:01:52 -07:00
parent ac5c6c8751
commit 33c9c16388
5 changed files with 106 additions and 7 deletions

View file

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