From 0d13c5161577513c4698f703e185b71ab002a5ea Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 3 Jan 2024 10:12:21 +0530 Subject: [PATCH] fix(proxy/utils.py): fix self.alerting null case https://github.com/BerriAI/litellm/issues/1298#issuecomment-1874798056 --- litellm/proxy/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index 5da46ae5b..0a52b129e 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -33,6 +33,7 @@ class ProxyLogging: self.call_details["user_api_key_cache"] = user_api_key_cache self.max_parallel_request_limiter = MaxParallelRequestsHandler() self.max_budget_limiter = MaxBudgetLimiter() + self.alerting: Optional[List] = None pass def update_values(self, alerting: Optional[List]):