Skip to content

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

test(providers): add check for base64 in pending followups

Steven Enamakel9fffd1310028
diff --git a/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx b/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx
index 3f4e550bc0..ed39888255 100644
--- a/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx
+++ b/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx
@@ -931,6 +931,9 @@ describe('ChatRuntimeProvider — dedupe, proactive resolution, mid-turn invaria
attachments: stagedParts,
})
);
+ expect(
+ JSON.stringify(store.getState().queue.pendingFollowupsByThread['t-upload'])
+ ).not.toContain('base64');
vi.mocked(threadApi.getThreadMessages).mockResolvedValueOnce({
messages: [
{