From 5912decd19264798365ffdfc4b5f58d30f459b80 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 21 Jun 2024 14:29:38 -0700 Subject: [PATCH] fix(proxy/utils.py): fix bool on check --- litellm/proxy/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index e5853e3dc8..8dddc2deca 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -199,7 +199,7 @@ class ProxyLogging: alerting_args: Optional[dict] = None, ): updated_slack_alerting: bool = False - if self.alerting is not None: + if alerting is not None: self.alerting = alerting updated_slack_alerting = True if alerting_threshold is not None: