Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

merge: resolve main into conversations UI cleanup

Steven Enamakel16f54dd571ea
diff --cc app/src/components/assistant-ui/thread.tsx
index 5c9c0d0ec7,7b4f140b5a..7273fdd8ad
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@@ -1309,18 -1291,15 +1304,17 @@@ const AssistantMessage: FC = () =>
if (ReasoningGroup) {
return <ReasoningGroup group={part}>{children}</ReasoningGroup>;
}
- const running = part.status.type === 'running';
+ // The static reasoning panel reads the grouped parts' text and
+ // timing itself; the per-part `children` are only for overrides.
return (
- <ReasoningRoot streaming={running}>
- <ReasoningTrigger active={running} />
- <ReasoningContent aria-busy={running}>
- <ReasoningText>{children}</ReasoningText>
- </ReasoningContent>
- </ReasoningRoot>
+ <OpenHumanReasoningGroup
+ indices={part.indices}
+ running={part.status.type === 'running'}
+ />
);
}
+ case 'group-source':
+ return SourceGroup ? <SourceGroupSlot Component={SourceGroup} /> : null;
case 'text':
return <MarkdownText />;
case 'reasoning':
diff --cc app/src/features/conversations/components/ChatToolParts.test.tsx
index a8bfa5b29b,f42528c6a7..057c15b4af
--- a/app/src/features/conversations/components/ChatToolParts.test.tsx
+++ b/app/src/features/conversations/components/ChatToolParts.test.tsx
@@@ -284,9 -235,9 +284,11 @@@ describe('ChatToolParts', () =>
/>
);
- expect(screen.getByTestId('assistant-ui-tool-call')).toHaveTextContent('Finding the right tool');
- expect(screen.getByTestId('assistant-ui-tool-call')).toHaveTextContent('Found the right tool');
- // The regression this pins: BOTH heuristic legs still match this row, so
- // dropping the explicit branch renders the web label again.
++ expect(screen.getByTestId('assistant-ui-tool-call')).toHaveTextContent(
++ 'Finding the right tool'
++ );
+ // The regression this pins: the old name/argument-key heuristic matched
+ // this row on both legs.
expect(screen.getByTestId('assistant-ui-tool-call')).not.toHaveTextContent('Searched the web');
});