mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Merge 75021b927b
into b82af5b826
This commit is contained in:
commit
6cf7776bc1
1 changed files with 1 additions and 1 deletions
|
@ -2152,7 +2152,7 @@ def exception_type( # type: ignore # noqa: PLR0915
|
||||||
message=f"APIError: {exception_provider} - {error_str}",
|
message=f"APIError: {exception_provider} - {error_str}",
|
||||||
llm_provider=custom_llm_provider,
|
llm_provider=custom_llm_provider,
|
||||||
model=model,
|
model=model,
|
||||||
request=original_exception.request,
|
request=getattr(original_exception, "request", None),
|
||||||
litellm_debug_info=extra_information,
|
litellm_debug_info=extra_information,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue