Show live stage notes in activity panel

This commit is contained in:
wuyang6
2026-05-13 15:42:38 +08:00
parent b5e8b2f218
commit 01d148ec93
2 changed files with 19 additions and 5 deletions
@@ -605,11 +605,8 @@ function summarizeRunEvents(runStatus: ClawActiveRunStatus) {
? event.assistant_content.trim()
: "";
lines.push(
stageNote.startsWith("进度:") || stageNote.startsWith("进度:")
? stageNote
: event.tool_name
? `调用工具 ${event.tool_name}`
: "正在调用工具",
stageNote ||
(event.tool_name ? `调用工具 ${event.tool_name}` : "正在调用工具"),
);
}
if (event.type === "tool_result") {