From 621262103f94af7bdfdbd92a85dd675667839e6d Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Mon, 29 Jan 2024 11:54:50 -0800 Subject: [PATCH] (fix) proxy - ensure cache:True on config.yaml --- litellm/proxy/proxy_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index c380df9da97..7b82d4d1c39 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -1014,7 +1014,7 @@ class ProxyConfig: blue_color_code = "\033[94m" reset_color_code = "\033[0m" for key, value in litellm_settings.items(): - if key == "cache": + if key == "cache" and value == True: print(f"{blue_color_code}\nSetting Cache on Proxy") # noqa from litellm.caching import Cache