mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Merge pull request #416 from BerriAI/ishaan/error-logging
Add Dashboard for showing error logs on exception
This commit is contained in:
commit
a669f5a738
4 changed files with 57 additions and 3 deletions
|
@ -1069,7 +1069,7 @@ def completion(
|
|||
except Exception as e:
|
||||
## Map to OpenAI Exception
|
||||
raise exception_type(
|
||||
model=model, custom_llm_provider=custom_llm_provider, original_exception=e
|
||||
model=model, custom_llm_provider=custom_llm_provider, original_exception=e, completion_kwargs=args,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue