Spaces:
Running
Running
asfandyarq
commited on
Commit
•
e2f39e2
1
Parent(s):
a419a76
log errors
Browse files
app.py
CHANGED
@@ -203,6 +203,7 @@ def chat_completion(messages):
|
|
203 |
error = e
|
204 |
if error is not None:
|
205 |
yield {"content": None, "error": GENERAL_ERROR_MSG, "warning": None}
|
|
|
206 |
return
|
207 |
|
208 |
max_token_warning = None
|
|
|
203 |
error = e
|
204 |
if error is not None:
|
205 |
yield {"content": None, "error": GENERAL_ERROR_MSG, "warning": None}
|
206 |
+
print(error)
|
207 |
return
|
208 |
|
209 |
max_token_warning = None
|