mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
c1819f4932
The .first() guard on the 'rendered on the canvas' handoff-pill assertion was justified by an inaccurate comment (accumulation across exchanges). The real cause is intra-turn: generateSandboxedUi has followUp:true, so aimock re-serves the same fixture on the unchanged-userMessage follow-up turn in replay -> a second identical pill. A terminating sequenceIndex follow-up fixture was attempted but destabilized the suite (title-generation requests substring-match the pill text and consume the sequence counter before the real leg-1 turn), so the .first() guard remains. Test/fixtures only; no source changes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>