forked from phoenix/litellm-mirror
fix router.py
This commit is contained in:
parent
e5ab0d4ecd
commit
5bbbb5a7ee
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class Router:
|
|||
litellm.cache = litellm.Cache(type=cache_type, **cache_config) # type: ignore
|
||||
self.cache_responses = cache_responses
|
||||
self.cache = DualCache(
|
||||
redis_cache=redis_cache, in_memory_cache=InMemoryCache(default_ttl=86400)
|
||||
redis_cache=redis_cache, in_memory_cache=InMemoryCache()
|
||||
) # use a dual cache (Redis+In-Memory) for tracking cooldowns, usage, etc.
|
||||
|
||||
### SCHEDULER ###
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue