mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix: use computed error_message in ProxyRateLimitError detail
This commit is contained in:
parent
997f24b3a1
commit
d0202b802e
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class _PROXY_MaxParallelRequestsHandler(CustomLogger):
|
|||
if additional_details is not None:
|
||||
error_message = error_message + " " + additional_details
|
||||
raise ProxyRateLimitError(
|
||||
detail=f"Max parallel request limit reached {additional_details}",
|
||||
detail=error_message,
|
||||
headers={"retry-after": str(self.time_to_next_minute())},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue