Skip to content

fix(examples): use approved A2UI playground models - #8289

Merged
contextablemark merged 2 commits into
mainfrom
contextablemark/fix-a2ui-playground-model
Nov 10, 2026
Merged

contextablemark merged 2 commits into
mainfrom
contextablemark/fix-a2ui-playground-model

Conversation

@contextablemark

@contextablemark contextablemark commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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 to gpt-6-luna. Both are in the existing ship allowlist.

Validation:

  • Reproduced the policy scan failing on exactly these three references before the change; it now passes. All 43 validator tests pass.
  • Formatting, scoped lint, explicit playground typecheck, existing Express/composer/repair tests, and the production build pass (143 static pages).
  • Live Google test executed the exported quickstart route and catalog verbatim through the published CopilotKit 1.85.0 runtime: Gemini 3.8 Flash finished the AG-UI stream and generated a validated WeatherCard in 5.624 s.
  • Live OpenAI test used the documented Luna model with the playground's existing composer and full catalog: forced streaming render_a2ui with reasoning_effort: "none" generated validated Column, Heading, and WeatherCard components in 1.582 s.

Summary by CodeRabbit

  • Documentation
    • Updated the model identifiers shown in the playground’s runtime example, starter snippet, and dynamic-schema guidance. The examples now reference google/gemini-3.8-flash and gpt-6-luna instead of the previous model identifiers. This keeps the documented examples aligned with the model choices reflected in this update.

@railway-app

railway-app Bot commented Nov 10, 2026

Copy link
Copy Markdown

🚅 Deployed to the CopilotKit-pr-8289 environment in showcase

52 services not affected by this PR
  • shell
  • showcase-claude-sdk-python
  • showcase-claude-sdk-typescript
  • harness
  • showcase-crewai-conversational-flows
  • showcase-intelligence-postgres
  • aimock
  • showcase-intelligence-redis
  • webhooks
  • starter-mastra
  • showcase-intelligence-gateway
  • starter-langgraph-js
  • showcase-built-in-agent
  • showcase-langgraph-typescript
  • showcase-intelligence-gateway-proxy
  • pocketbase
  • showcase-spring-ai
  • showcase-ag2
  • showcase-intelligence-composite
  • showcase-langgraph-python
  • docs
  • showcase-google-antigravity
  • showcase-google-adk
  • showcase-langroid
  • showcase-pydantic-ai
  • showcase-langgraph-fastapi
  • starter-langgraph-fastapi
  • showcase-llamaindex
  • showcase-crewai-crews
  • showcase-agno
  • showcase-ms-agent-python
  • showcase-mastra
  • showcase-strands
  • showcase-ms-agent-dotnet
  • dashboard
  • starter-llamaindex
  • dojo
  • starter-crewai-crews
  • starter-adk
  • starter-agno
  • showcase-intelligence-api
  • docs-preview
  • starter-ms-agent-framework-python
  • harness-workers
  • starter-ms-agent-framework-dotnet
  • showcase-strands-typescript
  • starter-langgraph-python
  • showcase-openai-agents-python
  • starter-pydantic-ai
  • showcase-ms-agent-harness-dotnet
  • showcase-intelligence-test-runner
  • starter-strands-python

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The A2UI playground README, route snippet, and dynamic-schema guide now specify updated model identifiers.

Changes: A2UI playground model references

Layer / File(s) Summary
Update model identifiers
examples/showcases/a2ui-playground/README.md, examples/showcases/a2ui-playground/src/components/start/snippets.ts, examples/showcases/a2ui-playground/skills/a2ui-catalog/references/dynamic-schema.md
The README and route snippet use google/gemini-3.8-flash. The dynamic-schema guide uses gpt-6-luna.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to e7bce

The examples select updated models, with no actionable merge-blocking risk identified.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the A2UI playground model updates and identifies them as approved model references.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (2 skipped: 2 unsupported.)

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f51697f and e7bcee2.

Files selected for processing: 3

  • examples/showcases/a2ui-playground/README.md
  • examples/showcases/a2ui-playground/skills/a2ui-catalog/references/dynamic-schema.md
  • examples/showcases/a2ui-playground/src/components/start/snippets.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@jerelvelarde jerelvelarde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.md describes this build's composer, which still defaults to gpt-5.4-mini in src/agent/models.ts and in templates/reference/composer.ts. The validator skips those because they are ?? "..." fallbacks, not model: 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 /minimal is this setup, but /minimal runs openai: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.

@contextablemark
contextablemark added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit aabb702 Nov 10, 2026
19 checks passed
@contextablemark
contextablemark deleted the contextablemark/fix-a2ui-playground-model branch November 10, 2026 07:43
AlemTuzlak added a commit that referenced this pull request Nov 10, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants