mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
14138b7d18
Mirrors LGP's `generate_a2ui` outer-emit fixture into 8 non-LGP slugs to close the production 503 gap on the "Show me my sales dashboard for this quarter." userMessage. Per /tmp/staging-journal-diff.md, aimock-staging returns 503 on shape-B traffic (model=gpt-4.1, stream=true, tools=[generate_a2ui], UA=AsyncOpenAI/Python) for all 8 slugs because no fixture matched. Slugs patched (one entry each in d6/<slug>/gen-ui-declarative.json): - llamaindex - built-in-agent - ag2 - langroid - claude-sdk-typescript - claude-sdk-python - ms-agent-dotnet - ms-agent-python Each entry matches `userMessage` + `context: "<slug>"` and emits a `generate_a2ui` toolcall with no args, mirroring LGP's sales-dashboard outer entry. Per-slug unique toolCallId. Red-green proof (local aimock, ghcr.io/copilotkit/aimock:latest): RED (baseline main, 8 slugs): HTTP=404 no_fixture_match GREEN (this branch, 8 slugs): HTTP=200 tool=generate_a2ui id=call_d6_decl_dash_outer_<slug>_001 LGP regression (baseline+fix): HTTP=200 (unchanged) aimock fixture validation: 737/737 tests pass. PR scope is intentionally narrow per CLAUDE.md "Scope PRs to flagged findings": this closes ONE userMessage gap. Shape-A 503s (no tools key) and other userMessage gaps remain as separate follow-ups.