mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-26 12:38:13 +00:00
fix(ai): AI 命令更新消息时不显示"已编辑"标记
使用 change- 替代 update- 动作,避免消息显示编辑标记 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
parent
77ebdd2ccb
commit
28beb7fe5e
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user