Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
Wait for at least a second open in the controller stream tests (CHOO-3013) (#708)
Abel Dantas227a92f7c98e
diff --git a/console/packages/agent-controller/src/stream.test.ts b/console/packages/agent-controller/src/stream.test.tsindex 05441d721..44329133e 100644--- a/console/packages/agent-controller/src/stream.test.ts+++ b/console/packages/agent-controller/src/stream.test.ts@@ -263,7 +263,7 @@ describe('runControllerStream', () => {scripted.sockets = () => scriptedSocket([refused(409, 'stale_generation')], 4409);const stop = new AbortController();const { ending } = run(scripted, stop.signal);- await waitFor(() => scripted.opens.length === 2, 'a second open');+ await waitFor(() => scripted.opens.length >= 2, 'a second open');stop.abort();await ending;});@@ -277,7 +277,7 @@ describe('runControllerStream', () => {);const stop = new AbortController();const { ending } = run(scripted, stop.signal);- await waitFor(() => scripted.opens.length === 2, 'a second open');+ await waitFor(() => scripted.opens.length >= 2, 'a second open');stop.abort();expect(await ending).toBe('stopped');});