Spaces:
Sleeping
Sleeping
kevin commited on
Commit ·
b5667ec
1
Parent(s): f44d506
think buddy
Browse files- core/utils.py +1 -1
core/utils.py
CHANGED
|
@@ -220,7 +220,7 @@ async def process_streaming_response(request: ChatRequest, app_secret: str):
|
|
| 220 |
response.raise_for_status()
|
| 221 |
timestamp = int(datetime.now().timestamp())
|
| 222 |
async for line in response.aiter_lines():
|
| 223 |
-
print(f"{type(line)}: {line}")
|
| 224 |
if line and line.startswith("data: "):
|
| 225 |
try:
|
| 226 |
if line.strip() == 'data: [DONE]':
|
|
|
|
| 220 |
response.raise_for_status()
|
| 221 |
timestamp = int(datetime.now().timestamp())
|
| 222 |
async for line in response.aiter_lines():
|
| 223 |
+
# print(f"{type(line)}: {line}")
|
| 224 |
if line and line.startswith("data: "):
|
| 225 |
try:
|
| 226 |
if line.strip() == 'data: [DONE]':
|