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: assert both chat tool groups
Steven Enamakel5705f07fa20a
diff --git a/app/test/e2e/specs/chat-live-history-parity.spec.ts b/app/test/e2e/specs/chat-live-history-parity.spec.tsindex 495c2eb0a5..53ce219527 100644--- a/app/test/e2e/specs/chat-live-history-parity.spec.ts+++ b/app/test/e2e/specs/chat-live-history-parity.spec.ts@@ -248,10 +248,10 @@ describe('Chat live/history parity', () => {// Compare the stable current projection. A streaming sample can become// stale when the final assistant message replaces an earlier narration.settled = (await replyBlocks()).map(block => ({ ...block }));- // Adjacent rounds share one activity group, whose trigger reports the- // total number of calls represented in that group.- expect(settled.filter(block => block.kind === 'tool-group-root')).toHaveLength(1);- expect(settled.find(block => block.kind === 'tool-group-root')?.text).toContain('2 tool calls');+ // Each scripted tool round appears as its own activity group.+ const toolGroups = settled.filter(block => block.kind === 'tool-group-root');+ expect(toolGroups).toHaveLength(2);+ expect(toolGroups.map(group => group.text)).toEqual(['1 tool call', '1 tool call']);const finalBlock = settled.find(block => block.kind === 'text' && block.text.includes(CANARY_FINAL));