Skip to content

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

fix(assistant-ui): remove unused thread component

Steven Enamakel207a065c48b5
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index febb05a694..56fb622021 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1430,7 +1430,10 @@ const AssistantMessage: FC = () => {
case 'group-source':
return SourceGroup ? <SourceGroupSlot Component={SourceGroup} /> : null;
case 'text':
- return <MarkdownText />;
+ // A stopped/cancelled turn's text renders once, inside
+ // `StoppedRunSlot` below (as `words`), not here — see that
+ // component's docstring.
+ return stopped ? null : <MarkdownText />;
case 'reasoning':
// A step inside the activity group, not a disclosure of its own.
return (