mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-13 04:22:55 +00:00
fix(proxy_server.py): fix cache param arg name
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user