forked from phoenix/litellm-mirror
fix - don't raise hanging request alert for /completions
This commit is contained in:
parent
5177e4408e
commit
2e81347607
1 changed files with 3 additions and 0 deletions
|
@ -4015,6 +4015,9 @@ async def completion(
|
|||
cache_key = hidden_params.get("cache_key", None) or ""
|
||||
api_base = hidden_params.get("api_base", None) or ""
|
||||
|
||||
### ALERTING ###
|
||||
data["litellm_status"] = "success" # used for alerting
|
||||
|
||||
verbose_proxy_logger.debug("final response: %s", response)
|
||||
if (
|
||||
"stream" in data and data["stream"] == True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue