fix(utils.py): set redis_usage_cache to none by default

This commit is contained in:
Krrish Dholakia 2024-03-30 20:10:56 -07:00 committed by Ishaan Jaff
parent 2dd5f2bc8c
commit 1bb4f3ad6d

View file

@ -48,7 +48,9 @@ class ProxyLogging:
"""
def __init__(
self, user_api_key_cache: DualCache, redis_usage_cache: Optional[RedisCache]
self,
user_api_key_cache: DualCache,
redis_usage_cache: Optional[RedisCache] = None,
):
## INITIALIZE LITELLM CALLBACKS ##
self.call_details: dict = {}