From 24e918b10f2924dce6315121bbcd01b5f77da30a Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 25 Apr 2024 19:36:42 -0700 Subject: [PATCH] fix clean up prints from slack alerting --- litellm/integrations/slack_alerting.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/litellm/integrations/slack_alerting.py b/litellm/integrations/slack_alerting.py index 46eba3a23a..9151aecb01 100644 --- a/litellm/integrations/slack_alerting.py +++ b/litellm/integrations/slack_alerting.py @@ -140,8 +140,6 @@ class SlackAlerting: raise e def _get_deployment_latencies_to_alert(self, metadata=None): - print("inside get deployment latencies metadata", metadata) # noqa - if metadata is None: return None @@ -189,7 +187,6 @@ class SlackAlerting: request_info=request_info, kwargs=kwargs ) # add deployment latencies to alert - print("in response taking too long callback, kwargs: ", kwargs) # noqa if ( kwargs is not None and "litellm_params" in kwargs @@ -283,10 +280,6 @@ class SlackAlerting: f"`Requests are hanging - {self.alerting_threshold}s+ request time`" ) - print( - "inside hanging request callback, request_data: ", request_data - ) # noqa - # add deployment latencies to alert _deployment_latency_map = self._get_deployment_latencies_to_alert( metadata=request_data.get("metadata", {}) @@ -438,12 +431,6 @@ class SlackAlerting: level: str - Low|Medium|High - if calls might fail (Medium) or are failing (High); Currently, no alerts would be 'Low'. message: str - what is the alert about """ - print( - "inside send alert for slack, message: ", - message, - "self.alerting: ", - self.alerting, - ) if self.alerting is None: return