deerflow2/web/src/core
Qiyuan Jiao 2aa07f93c2 fix: Optimize the performance of stream data processing and add anti-… (#642)
* fix: Optimize the performance of stream data processing and add anti-shake and batch update mechanisms

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* 修复消息批量更新重复问题

- 将 pendingUpdates 从数组改为 Map,使用 message.id 作为键
- 避免在16ms窗口内多次更新同一消息导致的重复处理
- 优化了批量更新性能,减少冗余的映射操作

* fix lint error

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2025-10-22 23:08:18 +08:00
..
api fix: add max_clarification_rounds parameter passing from frontend to backend (#616) 2025-10-14 17:56:20 +08:00
config feat: add deep think feature (#311) 2025-06-14 13:12:43 +08:00
markdown feature: add formula rander in the markdown (#611) 2025-10-11 23:05:09 +08:00
mcp fix: env parameters exception when configuring SSE or HTTP MCP server (#513) 2025-08-20 17:23:57 +08:00
messages feat: Enhance chat streaming and tool call processing (#498) 2025-08-16 21:03:12 +08:00
rehype chore: add license header for web 2025-04-17 14:26:41 +08:00
replay feat: add STATIC_WEBSITE_ONLY mode 2025-05-02 21:09:31 +08:00
sse fix: Optimize the performance of stream data processing and add anti-… (#642) 2025-10-22 23:08:18 +08:00
store fix: Optimize the performance of stream data processing and add anti-… (#642) 2025-10-22 23:08:18 +08:00
utils fix: unescape markdown-escaped characters in math formulas to fix #608 (#637) 2025-10-21 10:06:31 +08:00