mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
Try to add prints
This commit is contained in:
parent
421011baec
commit
c5ea02d5f7
1 changed files with 3 additions and 0 deletions
|
|
@ -685,6 +685,8 @@ class ProxyLogging:
|
|||
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("In slack alerting_handler")
|
||||
if self.alerting is None:
|
||||
return
|
||||
|
||||
|
|
@ -715,6 +717,7 @@ class ProxyLogging:
|
|||
alerting_metadata = request_data["metadata"]["alerting_metadata"]
|
||||
for client in self.alerting:
|
||||
if client == "slack":
|
||||
print("Calling slacks send_alert")
|
||||
await self.slack_alerting_instance.send_alert(
|
||||
message=message,
|
||||
level=level,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue