From aec50e20299f334623594b2aa452991fc5eb23b5 Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 1 Aug 2025 14:41:37 +0800 Subject: [PATCH] . --- meta_ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta_ui.py b/meta_ui.py index d02683c..6e84037 100644 --- a/meta_ui.py +++ b/meta_ui.py @@ -151,6 +151,7 @@ def chat( # 你用 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: