mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix - dont send alert on fail request
This commit is contained in:
parent
a30174ce31
commit
d076aed9d0
2 changed files with 8 additions and 0 deletions
|
@ -346,6 +346,7 @@ class ProxyLogging:
|
|||
if (
|
||||
request_data is not None
|
||||
and request_data.get("litellm_status", "") != "success"
|
||||
and request_data.get("litellm_status", "") != "fail"
|
||||
):
|
||||
if request_data.get("deployment", None) is not None and isinstance(
|
||||
request_data["deployment"], dict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue