[docs]: fix typo in AI Gateway Anthropic model name#2182
Conversation
The example `gateway/anthropic/claude-sonnet-4.5` used dotted version notation, but every other Anthropic model reference in the docs uses the canonical hyphenated form. Update to the dated snapshot `claude-sonnet-4-5-20250929` to match the Vercel AI Gateway / Anthropic naming convention.
|
|
This PR is from an external contributor and must be approved by a stagehand team member with write access before CI can run. |
why
packages/docs/v3/configuration/models.mdx:788usesgateway/anthropic/claude-sonnet-4.5with dotted version notation. Every other Anthropic model reference in the docs (and in the rest of this same file) uses Anthropic's canonical hyphenated form (claude-sonnet-4-6,claude-sonnet-4-5-20250929, etc.). A reader who copies this line as-is will hit a model-not-found from the upstream provider.what changed
One-line fix:
claude-sonnet-4.5→claude-sonnet-4-5-20250929. Picked the dated snapshot used elsewhere for the Sonnet 4.5 family rather than swapping to a different model, to preserve the author's intent.test plan
packages/docs/**/*.mdxconfirms this was the only dotted-notation Anthropic model name; all other Claude references use hyphenated form.Summary by cubic
Fixed an incorrect Anthropic model name in the gateway docs to use the canonical hyphenated, dated snapshot and avoid model-not-found errors. Updated
gateway/anthropic/claude-sonnet-4.5togateway/anthropic/claude-sonnet-4-5-20250929.Written for commit ed430f8. Summary will update on new commits.