mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
build: extract <think>..</think> block for amazon deepseek r1 and put in reasoning_content
This commit is contained in:
parent
54c0b1e84b
commit
e58507ae72
9 changed files with 189 additions and 14 deletions
|
@ -690,15 +690,10 @@ class _PROXY_MaxParallelRequestsHandler(CustomLogger):
|
|||
if user_api_key is None:
|
||||
return
|
||||
|
||||
verbose_proxy_logger.info("ENTERS FAILURE LOG EVENT")
|
||||
|
||||
## decrement call count if call failed
|
||||
if CommonProxyErrors.max_parallel_request_limit_reached.value in str(
|
||||
kwargs["exception"]
|
||||
):
|
||||
verbose_proxy_logger.info(
|
||||
"IGNORE FAILED CALLS DUE TO MAX LIMIT BEING REACHED"
|
||||
)
|
||||
pass # ignore failed calls due to max limit being reached
|
||||
else:
|
||||
# ------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue