Update server.py
Browse files
server.py
CHANGED
|
@@ -501,7 +501,7 @@ def QWEN(
|
|
| 501 |
buffer_lines.append(line[len("data:"):].lstrip())
|
| 502 |
|
| 503 |
RES = False
|
| 504 |
-
for i in GEN(RQ=RQ,
|
| 505 |
if i["type"]=="reasoning":
|
| 506 |
if not RES:
|
| 507 |
RES = True
|
|
|
|
| 501 |
buffer_lines.append(line[len("data:"):].lstrip())
|
| 502 |
|
| 503 |
RES = False
|
| 504 |
+
for i in GEN(RQ=RQ,messages=messages,timeout=timeout):
|
| 505 |
if i["type"]=="reasoning":
|
| 506 |
if not RES:
|
| 507 |
RES = True
|