Skip to content

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

test(conversations): update composer model routing test

Steven Enamakelcf9f873d5cb9
diff --git a/app/src/features/conversations/Conversations.processSourceCommand.test.tsx b/app/src/features/conversations/Conversations.processSourceCommand.test.tsx
index a27d3339e7..71ab33372a 100644
--- a/app/src/features/conversations/Conversations.processSourceCommand.test.tsx
+++ b/app/src/features/conversations/Conversations.processSourceCommand.test.tsx
@@ -683,8 +683,8 @@ describe('composer model routing', () => {
expect(mockChatSend).not.toHaveBeenCalled();
await act(async () => newerClear.resolve({}));
- await waitFor(() => expect(mockChatSendWithAck).toHaveBeenCalledTimes(1));
- expect(mockChatSendWithAck.mock.calls[0][0]).not.toHaveProperty('model');
+ await waitFor(() => expect(mockChatSend).toHaveBeenCalledTimes(1));
+ expect(mockChatSend.mock.calls[0][0]).not.toHaveProperty('model');
});
it('does not wait for selected-model persistence before an explicit-model send', async () => {