mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
fix(utils.py): fix mistral api exception mapping
This commit is contained in:
parent
c963e2761b
commit
affcfdf561
1 changed files with 1 additions and 1 deletions
|
@ -6658,7 +6658,7 @@ def exception_type(
|
|||
message=f"{exception_provider} - {message}",
|
||||
llm_provider=custom_llm_provider,
|
||||
model=model,
|
||||
response=httpx.Response(status_code=500, request=_request),
|
||||
request=_request,
|
||||
)
|
||||
elif hasattr(original_exception, "status_code"):
|
||||
exception_mapping_worked = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue