From 01ce15ddeb5475acd932a6287c80a25957210ade Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 1 Aug 2025 20:15:06 +0800 Subject: [PATCH] . --- meta_ui.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta_ui.py b/meta_ui.py index 6e84037..522c7f0 100644 --- a/meta_ui.py +++ b/meta_ui.py @@ -148,10 +148,8 @@ def chat( except Empty: continue - # 你用 backend 返回的其实已经是 content 字符串了,不要再转 json! txt = result.strip() if isinstance(result, str) else str(result).strip() - # 注意,这里必须 yield {"text": txt}, log_state - print("==UI OUTPUT==", repr(txt)) + yield {"text": txt}, log_state return else: