Repository navigation
fix(examples): use approved A2UI playground models - #8289
Conversation
|
🚅 Deployed to the CopilotKit-pr-8289 environment in showcase 52 services not affected by this PR
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
jerelvelarde
left a comment
There was a problem hiding this comment.
Approving. I ran scripts/validate-doc-model-names.ts on main (f51697f): it fails on exactly these three references. On this branch (e7bcee2) it reports all model names valid. Both new names are on the ship list, and google/gemini-3.8-flash is a row in the Built-in Agent model table, so the route people copy from /start pins a model we'd ship.
This explains how #8100 merged with these names: test_integration-docs.yml only runs on docs paths, so a PR that touches only examples/ never runs the check. Main fails it today, so the next docs PR would hit these three failures until this lands.
Two notes, neither blocking:
dynamic-schema.mddescribes this build's composer, which still defaults togpt-5.4-miniinsrc/agent/models.tsand intemplates/reference/composer.ts. The validator skips those because they are?? "..."fallbacks, notmodel:keys, so the doc and the code now name different models. That's fine as an example, since you ran Luna through the composer, but the defaults are worth aligning later.- README line 119 says
/minimalis this setup, but/minimalrunsopenai:gpt-5.5. That was already true before this PR.
Security: no findings. The change is three model-name strings in docs and in a snippet people copy, with no new dependencies, secrets or code paths.
Brings in main up to c5f8a4f: Vue generative UI (#8280), React Native generative UI (#8260), the A2UI playground demo (#8100, #8285, #8289) and the showcase/docs fixes. Adapted to 2.0.0: - react-core: main's /v2/generative-ui/native entry ships as /generative-ui/native; the purity, dist-context-types and docs tests use the root subpaths. - Vue generative UI: wired into the thin provider through ɵassembleActivityRenderers, prose renders with the provider's markdown renderer instead of streamdown-vue, Math shows its TeX source (no katex), icons load from the optional `lucide` peer instead of lucide-vue-next. No stylesheet import in the docs. - React Native: zod is not a peer on 2.0.0, so the docs ask for zod 4 and drop the zod 3 advice. The UTF-8 polyfill classes live in polyfills/encoding.ts so no shared chunk loads before the polyfill barrel (main's new barrel-order gate). - examples: the A2UI playground goes under examples/demos, the Vue demo pages under examples/dev/by-frontend/vue/demo. - Lint and knip baselines take the new generative UI code from main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The model-name policy check fails on three references in the A2UI playground. Pin the README and copied quickstart route to
google/gemini-3.8-flash, and the streaming composer example togpt-6-luna. Both are in the existingshipallowlist.Validation:
render_a2uiwithreasoning_effort: "none"generated validated Column, Heading, and WeatherCard components in 1.582 s.Summary by CodeRabbit
google/gemini-3.8-flashandgpt-6-lunainstead of the previous model identifiers. This keeps the documented examples aligned with the model choices reflected in this update.