mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
Merge pull request #14379 from teremterem/main
[Fix] Restore forgotten `raise` keyword in front of an `exception_type()` call
This commit is contained in:
commit
dde2712ade
1 changed files with 1 additions and 1 deletions
|
|
@ -1937,7 +1937,7 @@ class CustomStreamWrapper:
|
|||
)
|
||||
## Map to OpenAI Exception
|
||||
try:
|
||||
exception_type(
|
||||
raise exception_type(
|
||||
model=self.model,
|
||||
custom_llm_provider=self.custom_llm_provider,
|
||||
original_exception=e,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue