forked from phoenix/litellm-mirror
fix(proxy_server.py): fix linting issues
This commit is contained in:
parent
d3d8b86eaa
commit
2e8d582a34
5 changed files with 44 additions and 32 deletions
|
@ -156,8 +156,10 @@ class DualCache(BaseCache):
|
|||
traceback.print_exc()
|
||||
|
||||
def flush_cache(self):
|
||||
self.redis_cache.flush_cache()
|
||||
self.in_memory_cache.flush_cache()
|
||||
if self.in_memory_cache is not None:
|
||||
self.in_memory_cache.flush_cache()
|
||||
if self.redis_cache is not None:
|
||||
self.redis_cache.flush_cache()
|
||||
|
||||
#### LiteLLM.Completion Cache ####
|
||||
class Cache:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue