forked from phoenix/litellm-mirror
(fix) proxy - ensure cache:True on config.yaml
This commit is contained in:
parent
c304117caa
commit
621262103f
1 changed files with 1 additions and 1 deletions
|
@ -1014,7 +1014,7 @@ class ProxyConfig:
|
||||||
blue_color_code = "\033[94m"
|
blue_color_code = "\033[94m"
|
||||||
reset_color_code = "\033[0m"
|
reset_color_code = "\033[0m"
|
||||||
for key, value in litellm_settings.items():
|
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
|
print(f"{blue_color_code}\nSetting Cache on Proxy") # noqa
|
||||||
from litellm.caching import Cache
|
from litellm.caching import Cache
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue