mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
fe95444314
Audit follow-up to #5232, which fixed the gen-ui-interrupt d6 fixture leg mis-order for langgraph-python + langgraph-typescript. aimock's matchFixture is first-match-wins in array order and the loader dedups on userMessage, so a toolCallId resume-leg placed BEFORE its toolName:schedule_meeting first-leg shadows the tool-emitting leg on turn-2 — the interrupt never fires and time-picker-card never mounts. Fleet audit of every showcase/aimock/d6/*/gen-ui-interrupt.json found ag2 as the only remaining mis-ordered fixture (both toolCallId resume-legs preceded their toolName first-legs). Reorder ag2 so each pill's toolName first-leg precedes its toolCallId resume-leg, matching the proven-correct mastra/pydantic-ai/langgraph pattern. Reorder only; response payloads and match keys are unchanged. All other gen-ui-interrupt-supporting integrations (built-in-agent, claude-sdk-*, langgraph-fastapi, langroid, ms-agent-dotnet/python, pydantic-ai, spring-ai, strands) were already correctly ordered.