This commit is contained in:
parent
a2cc08abc6
commit
effd559734
|
|
@ -163,8 +163,8 @@ def chat(
|
|||
|
||||
# ✅ 推荐返回结构,自动渲染 + 自动 history 追加
|
||||
#yield {"text": txt}, log_state
|
||||
return txt, log_state
|
||||
#return
|
||||
return txt, log_state
|
||||
else:
|
||||
while thread.is_alive():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue