← Back to library

Dashboard 卡顿治理:停止 chat.history 重载风暴(PR #45541)

问题/场景:tool-heavy 对话中每次 tool-result 都触发历史全量刷新,造成卡顿。前置条件:使用 Dashboard v2。实施步骤:1) 升级到 PR #45541;2) 运行多工具任务;3) 观察 history 仅在 final event 刷新;4) 对比升级前后体验。关键命令:npm run build。验证:UI 在实时事件期间保持可交互。风险与边界:超大历史仍可能慢,需分页/虚拟列表(需验证)。来源归因:GitHub PR #45541。

GITHUBDiscovered 2026-03-14Author openclaw contributors
Prerequisites
  • You can reproduce one tool-heavy dashboard chat run.
Steps
  1. Upgrade to build containing PR #45541.
  2. Run a tool-heavy chat flow in dashboard.
  3. Verify no per-tool-result full history reload occurs.
Commands
npm run build
openclaw gateway status
Verify

Dashboard remains responsive during live tool events.

Caveats
  • Browser extensions can still introduce unrelated UI jank(需验证).
Source attribution

This tip is aggregated from community/public sources and preserved with attribution.

Open original source ↗
Visit original post