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
[Feature] Preserve tool-call boundaries between thought blocks #856
When a model is working through a task and uses multiple tool calls, the UI currently appends subsequent tool calls to the same tool-call dropdown instead of creating a separate block for each tool-call phase.
For example, the flow can be:
Thought → Tool calls → Thought → Tool calls → Thought → Tool calls
But the UI currently groups the later tool calls into the first "Exploring X tools..." dropdown, making it unclear which tools were used during each phase of the model's reasoning.
Expected Behavior
Each tool-call phase should have its own expandable block, preserving the actual sequence of events:
Thought → Tool calls → Thought → Tool calls → Thought → Tool calls
When the model starts a new tool-call phase after generating more thoughts, a new tool-call dropdown should be created instead of appending the tools to the previous dropdown.
Actual Behavior
The first tool-call dropdown is created when the model makes its initial tool calls. After the model generates additional thoughts and makes more tool calls, those new tool calls are appended to the original dropdown.
This makes the execution flow difficult to follow and does not accurately represent the sequence of the model's actions.
Additional Context
The UI should preserve the boundaries between separate tool-call phases while still grouping tools that belong to the same phase. This would make long agentic tasks much easier to understand and debug.
Activity
kishore280 commentedon Aug 12, 2026
Hit this while testing #751 — currentAggregator never gets reset when a new phase starts mid-turn, only on completion. Happy to send a PR.
fix: reset tool aggregator whenever something other than a tool card …
Resolve conflicts with upstream main for timeline undo (#3)