Merge pull request #416 from BerriAI/ishaan/error-logging

Add Dashboard for showing error logs on exception
This commit is contained in:
Ishaan Jaff 2023-09-20 20:17:18 -07:00 committed by GitHub
commit a669f5a738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 57 additions and 3 deletions

View file

@ -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,
)