Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,6 +56,8 @@ def respond(
|
|
| 56 |
|
| 57 |
|
| 58 |
for event in completion:
|
|
|
|
|
|
|
| 59 |
if hasattr(event.choices[0].delta, 'reasoning_content'):
|
| 60 |
if is_reasoning_start:
|
| 61 |
response += '> **Start thinking**\n\n'
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
for event in completion:
|
| 59 |
+
print(event)
|
| 60 |
+
print(event.choices[0].delta)
|
| 61 |
if hasattr(event.choices[0].delta, 'reasoning_content'):
|
| 62 |
if is_reasoning_start:
|
| 63 |
response += '> **Start thinking**\n\n'
|