Skip to content

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

test(thread.activityGroup): update test fixture to match new interrupt state shape

Steven Enamakel0fc23ba4528f
diff --git a/app/src/components/assistant-ui/thread.activityGroup.test.tsx b/app/src/components/assistant-ui/thread.activityGroup.test.tsx
index 5c3fc031cc..49ac7658ba 100644
--- a/app/src/components/assistant-ui/thread.activityGroup.test.tsx
+++ b/app/src/components/assistant-ui/thread.activityGroup.test.tsx
@@ -104,11 +104,8 @@ describe('activity group', () => {
{ role: 'user', content: [{ type: 'text', text: 'do it' }] },
{
role: 'assistant',
- status: { type: 'complete', reason: 'stop' },
- content: [
- tool('t1', 'shell', { status: { type: 'requires-action', reason: 'interrupt' } }),
- tool('t2', 'search_two'),
- ],
+ status: { type: 'requires-action', reason: 'interrupt' },
+ content: [tool('t1', 'shell', { result: undefined }), tool('t2', 'search_two')],
},
]}
isRunning={false}