From 28beb7fe5e21070b3a834cd6b0bd955981c28e32 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 25 Jan 2026 12:43:47 +0000 Subject: [PATCH] =?UTF-8?q?fix(ai):=20AI=20=E5=91=BD=E4=BB=A4=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=B6=88=E6=81=AF=E6=97=B6=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?"=E5=B7=B2=E7=BC=96=E8=BE=91"=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用 change- 替代 update- 动作,避免消息显示编辑标记 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- app/Module/AiDialogCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Module/AiDialogCommand.php b/app/Module/AiDialogCommand.php index ac4da1b8b..6f7e4c55d 100644 --- a/app/Module/AiDialogCommand.php +++ b/app/Module/AiDialogCommand.php @@ -543,9 +543,9 @@ PROMPT; $msg['type'] = 'md'; } - // 更新或发送新消息 + // 更新或发送新消息(使用 change- 不显示"已编辑"标记) WebSocketDialogMsg::sendMsg( - $pendingMsgId > 0 ? 'update-' . $pendingMsgId : null, + $pendingMsgId > 0 ? 'change-' . $pendingMsgId : null, $dialog->id, 'text', $msg,