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: