Spaces:
Running
Running
vlff李飞飞
commited on
Commit
•
b48806d
1
Parent(s):
fe2448f
update oai
Browse files
qwen_server/assistant_server.py
CHANGED
@@ -100,7 +100,8 @@ def bot(history):
|
|
100 |
response = agent.run(user_request=history[-1][0], ref_doc=_ref)
|
101 |
|
102 |
for chunk in response:
|
103 |
-
|
|
|
104 |
yield history
|
105 |
|
106 |
# save history
|
|
|
100 |
response = agent.run(user_request=history[-1][0], ref_doc=_ref)
|
101 |
|
102 |
for chunk in response:
|
103 |
+
if chunk is not None:
|
104 |
+
history[-1][1] += chunk
|
105 |
yield history
|
106 |
|
107 |
# save history
|