mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(timeout.py): import errors
This commit is contained in:
parent
2310e0c6eb
commit
b1dcd0f1b9
2 changed files with 2 additions and 1 deletions
|
@ -285,6 +285,7 @@ def completion(
|
|||
try:
|
||||
completion_response = response.json()
|
||||
except:
|
||||
import traceback
|
||||
raise HuggingfaceError(
|
||||
message=f"Original Response received: {response.text}; Stacktrace: {traceback.format_exc()}", status_code=response.status_code
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue