[STG-2497] docs: sync CUA model list with AgentProvider map#2326
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
|
This PR is from an external contributor and must be approved by a stagehand team member with write access before CI can run. |
|
This PR was approved by @Kylejeong2 and mirrored to #2327. All further discussion should happen on that PR. |
…er map (#2327) Mirrored from external contributor PR #2326 after approval by @Kylejeong2. Original author: @aq17 Original PR: #2326 Approved source head SHA: `f7085b51cf1a25af736387d251ed8fa863d15df4` @aq17, please continue any follow-up discussion on this mirrored PR. When the external PR gets new commits, this same internal PR will be marked stale until the latest external commit is approved and refreshed here. ## Original description ## Summary The `All Supported CUA Models` table in `packages/docs/v3/configuration/models.mdx` was missing 7 models that are already registered in `packages/core/lib/v3/agent/AgentProvider.ts` (`modelToAgentProviderMap`, lines 17–37). This PR brings the docs table in sync with the code. Added rows: - `openai/gpt-5.4` - `openai/gpt-5.4-mini` - `openai/gpt-5.5` - `anthropic/claude-sonnet-4-20250514` - `anthropic/claude-haiku-4-5` (the short alias — only the dated `claude-haiku-4-5-20251001` was listed) - `anthropic/claude-fable-5` - `google/gemini-3.5-flash` Also lightly reordered the Anthropic and Google rows so variants of the same model family sit next to each other (haiku → sonnet → opus → fable; gemini-2.5 → gemini-3-flash → gemini-3.5-flash → gemini-3-pro). ## Test plan Docs-only change. No code touched. Rendered table matches the source-of-truth map at `packages/core/lib/v3/agent/AgentProvider.ts`. Requested by: alexander@browserbase.com Linear: https://linear.app/browserbase/issue/STG-2497/docs-sync-cua-model-list-with-agentprovider-map Slack thread: https://browserbase.slack.com/archives/D0AHY8DEQPM/p1783452853684349 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- external-contributor-pr:owned source-pr=2326 source-sha=f7085b51cf1a25af736387d251ed8fa863d15df4 claimer=Kylejeong2 --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Synced the “All Supported CUA Models” table in `packages/docs/v3/configuration/models.mdx` with `modelToAgentProviderMap` in `packages/core/lib/v3/agent/AgentProvider.ts`, adding seven missing models and grouping families for clarity. Aligns the docs with code per Linear STG-2497 so users see all available CUA models. <sup>Written for commit f7085b5. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/browserbase/stagehand/pull/2327?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> Co-authored-by: Alex Qiu <alexander@browserbase.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The mirrored PR #2327 has been merged into |
Summary
The
All Supported CUA Modelstable inpackages/docs/v3/configuration/models.mdxwas missing 7 models that are already registered inpackages/core/lib/v3/agent/AgentProvider.ts(modelToAgentProviderMap, lines 17–37). This PR brings the docs table in sync with the code.Added rows:
openai/gpt-5.4openai/gpt-5.4-miniopenai/gpt-5.5anthropic/claude-sonnet-4-20250514anthropic/claude-haiku-4-5(the short alias — only the datedclaude-haiku-4-5-20251001was listed)anthropic/claude-fable-5google/gemini-3.5-flashAlso lightly reordered the Anthropic and Google rows so variants of the same model family sit next to each other (haiku → sonnet → opus → fable; gemini-2.5 → gemini-3-flash → gemini-3.5-flash → gemini-3-pro).
Test plan
Docs-only change. No code touched. Rendered table matches the source-of-truth map at
packages/core/lib/v3/agent/AgentProvider.ts.Requested by: alexander@browserbase.com
Linear: https://linear.app/browserbase/issue/STG-2497/docs-sync-cua-model-list-with-agentprovider-map
Slack thread: https://browserbase.slack.com/archives/D0AHY8DEQPM/p1783452853684349
🤖 Generated with Claude Code