mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +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
|
@ -1535,6 +1535,13 @@
|
||||||
"litellm_provider": "openrouter",
|
"litellm_provider": "openrouter",
|
||||||
"mode": "chat"
|
"mode": "chat"
|
||||||
},
|
},
|
||||||
|
"openrouter/meta-llama/llama-3-70b-instruct": {
|
||||||
|
"max_tokens": 8192,
|
||||||
|
"input_cost_per_token": 0.0000008,
|
||||||
|
"output_cost_per_token": 0.0000008,
|
||||||
|
"litellm_provider": "openrouter",
|
||||||
|
"mode": "chat"
|
||||||
|
},
|
||||||
"j2-ultra": {
|
"j2-ultra": {
|
||||||
"max_tokens": 8192,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 8192,
|
"max_input_tokens": 8192,
|
||||||
|
|
|
@ -346,6 +346,7 @@ class ProxyLogging:
|
||||||
if (
|
if (
|
||||||
request_data is not None
|
request_data is not None
|
||||||
and request_data.get("litellm_status", "") != "success"
|
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(
|
if request_data.get("deployment", None) is not None and isinstance(
|
||||||
request_data["deployment"], dict
|
request_data["deployment"], dict
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue