You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Subagents panel shows 0/6 after all subagents finish, while Tasks panel shows 6/6 completed #352
Subagents panel header: 0/6 — even though all 6 subagents completed successfully.
The subagent counter always renders {runningCount}/{subagents.length} (ComposerPanels.tsx:255-258, chatWindow.subagentSummary: "{running} running · {total} total"), so once everything is done it reads "0/6", which looks like nothing finished or all failed.
Expected
When no subagents are running, the counter should read like the tasks panel, e.g. 已完成 6/6 — i.e. count completed subagents, not running ones:
While running: 2/6 (or 2 running · 6 total) is fine.
When finished: 已完成 6/6 / 6/6 completed (the zh locale already has chatWindow.completedSubagents: "已完成 ({count})").
Concretely: ComposerPanels.tsx could pick the summary key based on runningCount === 0, mirroring the todo panel's todoProgress wording so both headers tell the same story.
I'll fix this — once no subagent is running, the panel header will show the completed count (6/6, label 6/6 complete / 已完成 6/6) instead of 0/6, mirroring the Tasks panel wording. Opening a PR with the fix, the new locale strings, and tests for both the all-done and still-running states.
Activity
anhnt256 commentedon Nov 10, 2026
I'll fix this — once no subagent is running, the panel header will show the completed count (
6/6, label6/6 complete/已完成 6/6) instead of0/6, mirroring the Tasks panel wording. Opening a PR with the fix, the new locale strings, and tests for both the all-done and still-running states.Merge pull request ompweb-dev#440 from anhnt256/fix/subagents-header-…