The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(assistant-ui): cover persisted channel reactions and read receipts
Steven Enamakelc1f3c5cada25
diff --git a/app/src/components/assistant-ui/thread.activityGroup.test.tsx b/app/src/components/assistant-ui/thread.activityGroup.test.tsxindex 650ca00963..95fb66173b 100644--- a/app/src/components/assistant-ui/thread.activityGroup.test.tsx+++ b/app/src/components/assistant-ui/thread.activityGroup.test.tsx@@ -58,6 +58,33 @@ function Harness({ messages, isRunning }: { messages: ThreadMessageLike[]; isRun}describe('activity group', () => {+ it('renders persisted channel reactions and read receipts on the source message', () => {+ render(+ <Harness+ messages={[+ {+ role: 'user',+ content: [{ type: 'text', text: 'incoming channel message' }],+ metadata: {+ custom: {+ extraMetadata: {+ channelActivity: {+ reactions: [{ actorId: 'alice', value: '🔥' }],+ readReceipts: [{ actorId: 'bob', timestamp: 123 }],+ },+ },+ },+ },+ },+ ]}+ isRunning={false}+ />+ );++ expect(screen.getByTestId('channel-message-reaction')).toHaveTextContent('🔥 1');+ expect(screen.getByTestId('channel-message-read-receipts')).toHaveTextContent('✓✓ 1');+ });+it('puts interleaved reasoning and tool calls under one trigger, answer outside', () => {render(<Harness messages={interleaved({ type: 'complete', reason: 'stop' })} isRunning={false} />