mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix: use error_message in raise_rate_limit_error to avoid literal 'None' in detail
This commit is contained in:
parent
24e80ba3a9
commit
06e53d306a
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ class _PROXY_MaxParallelRequestsHandler(CustomLogger):
|
|||
)
|
||||
raise ProxyHTTPRateLimitError(
|
||||
status_code=429,
|
||||
detail=f"Max parallel request limit reached {additional_details}",
|
||||
detail=error_message,
|
||||
headers={"retry-after": str(self.time_to_next_minute())},
|
||||
model=resolved_model,
|
||||
llm_provider=llm_provider,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue