[高] AgentChat SSE流失败后占位消息未删除导致消息重复 #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述
frontend/src/views/AgentChat.vue 第424-527行,sendMessage() 函数中:
结果:占位消息残留 + fallback 消息 = 用户看到两条消息
涉及文件
修复建议
在 fallback 分支中先移除占位消息(splice),再 push 实际结果。
严重程度
高 - 用户体验问题