mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
Remove Mistral specific mapping for 429 errors
When Mistral replies with a 503 error and message 'service tier capacity exceeded', it means the backend was at capacity, not that the user reached their rate limit and the error should not be converted to RateLimitError
This commit is contained in:
parent
d1df4e838b
commit
6b182ae63e
1 changed files with 0 additions and 6 deletions
|
|
@ -56,12 +56,6 @@ class ExceptionCheckers:
|
|||
if re.search(r"rate[\s_\-]*limit", _error_str_lower):
|
||||
return True
|
||||
|
||||
#######################################
|
||||
# Mistral API returns this error string
|
||||
#########################################
|
||||
if "service tier capacity exceeded" in _error_str_lower:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue