From d36d5ed4f67f5f596226a0f30f612b970f59a10b Mon Sep 17 00:00:00 2001 From: ymq Date: Sat, 15 Aug 2026 08:19:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20cockpit=E5=89=8D=E7=AB=AF=E5=A4=84?= =?UTF-8?q?=E7=90=86ask=5Fuser=E7=B1=BB=E5=9E=8B=EF=BC=8C=E6=8A=8Aagent?= =?UTF-8?q?=E6=8F=90=E9=97=AE=E5=B1=95=E7=A4=BA=E7=BB=99=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/api/cockpit_chat_v2.dspy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wwwroot/api/cockpit_chat_v2.dspy b/wwwroot/api/cockpit_chat_v2.dspy index 664cbb7..855c1a9 100644 --- a/wwwroot/api/cockpit_chat_v2.dspy +++ b/wwwroot/api/cockpit_chat_v2.dspy @@ -99,6 +99,8 @@ if action == 'send_message': yield json.dumps({"content": result + "\n\n"}, ensure_ascii=False) + '\n' elif t == 'reply': yield json.dumps({"content": data.get('message', '')}, ensure_ascii=False) + '\n' + elif t == 'ask_user': + yield json.dumps({"content": "❓ " + data.get('message', '')}, ensure_ascii=False) + '\n' elif t == 'error': yield json.dumps({"error": data.get('message', '')}, ensure_ascii=False) + '\n' else: