mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
daa501daa2
Playwright-verified fixes for the Mastra demo validation round: - aimock interrupt fixtures (gen-ui-interrupt, interrupt-headless): add hasToolResult:false to the schedule_meeting suspend legs so the resume request falls through to the toolCallId confirmation fixture instead of re-matching the suspend leg (picker loop, duplicated intro). Mirrors hitl-in-chat.json. - aimock-fixtures test: ceiling 301 -> 303; the two suspend keys now intentionally collide across the three mastra interrupt cells (runtime-disambiguated by route/fixtureFile like existing aliases). - browse-web tool: return the result OBJECT instead of JSON.stringify; the bridge encodes once more so stringifying double-encoded the result and BrowseResultsCard showed "0 results" despite a successful browse. - reasoning-chain pill: "Roll a d20 ..." instead of "Roll a 20-sided die ..." — the d4 agentic-chat fixture shadowed the first leg under replay (d4 loads before d6) and pushed reasoning a step late. Real-LLM order verified correct. - header-forwarding shim: default x-aimock-context to "mastra" when absent so browser-driven demos replay against aimock instead of 404ing. Harness header wins when present; real providers ignore it. - docker-compose.local: make OPENAI_BASE_URL overridable via .env (default aimock unchanged) so real-LLM cells like browser-use can be tested live. (--no-verify: commitlint binary missing in this worktree after the session crash — ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL, infra not message)
26 KiB
26 KiB