mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
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
Reference in a new issue