mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(proxy_server.py): fix cache param arg name
This commit is contained in:
parent
203e2776f8
commit
c096ba566f
1 changed files with 1 additions and 1 deletions
|
@ -1917,7 +1917,7 @@ class ProxyConfig:
|
|||
if "default_in_memory_ttl" in cache_params:
|
||||
litellm.default_in_memory_ttl = cache_params["default_in_memory_ttl"]
|
||||
|
||||
if "default_in_redis_ttl" in cache_params:
|
||||
if "default_redis_ttl" in cache_params:
|
||||
litellm.default_redis_ttl = cache_params["default_in_redis_ttl"]
|
||||
|
||||
litellm.cache = Cache(**cache_params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue