Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(desktop): ensure reasoning precedes tool calls in activity trace entries

7 months ago

1462e40
Authored
mweinbach3/22/2026, 7:32:50 PM
Reorder buildActivityTraceEntries to always place reasoning items before tool
items within an activity group. During streaming, tool feed items can arrive
before the reasoning block is flushed, causing tools to appear before reasoning
in the rendered trace even though reasoning logically precedes tool use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Parent58adeb3

1 file changed
  • apps/desktop/src/ui/chat/activityGroups.ts+23−22