Skip to content

docs: fix model names and IDs in quickstart and bedrock pages#800

Merged
pgrayy merged 4 commits intostrands-agents:mainfrom
pgrayy:fix/ts-sdk-docs-sync
Apr 30, 2026
Merged

docs: fix model names and IDs in quickstart and bedrock pages#800
pgrayy merged 4 commits intostrands-agents:mainfrom
pgrayy:fix/ts-sdk-docs-sync

Conversation

@pgrayy
Copy link
Copy Markdown
Member

@pgrayy pgrayy commented Apr 30, 2026

Description

The quickstart guides and Amazon Bedrock model provider page referenced incorrect or outdated model names and IDs. This PR updates them to match the current SDK defaults.

Quickstart pages (Python and TypeScript):

  • "Claude 4" and "Claude 4 Sonnet" are not real model names. Updated to "Claude Sonnet 4" (Python, matching its claude-sonnet-4-20250514 default) and "Claude Sonnet 4.6" (TypeScript, matching its claude-sonnet-4-6 default).
  • Updated the TypeScript model-config comment to show the current default ID (global.anthropic.claude-sonnet-4-6).
  • Changed the custom model ID examples from Claude Sonnet 4 to Claude Opus 4.6 (global.anthropic.claude-opus-4-6-v1) so they clearly demonstrate switching to a different model rather than restating the default. Model ID verified against Bedrock.
  • Fixed grammar: "we'll continuing building out" to "we'll continue building out".

Amazon Bedrock model provider page:

  • Updated the TypeScript tab description from "Claude Sonnet 4.5" to "Claude Sonnet 4.6".
  • Updated the automatic cache strategy example model ID from us.anthropic.claude-sonnet-4-5-20250929-v1:0 to us.anthropic.claude-sonnet-4-6.

CI fix: pin Zod to 4.3.6

Zod 4.4.0 (published 2026-04-29) introduced a regression where z.preprocess no longer preserves .optional() on the wrapped schema. This breaks Starlight's social config validation, which uses that pattern, causing all doc builds to fail with social: Required. This affects all branches, not just this PR.

Pinning Zod to 4.3.6 via overrides in package.json restores the working behavior. Verified locally: Zod 4.4.0 reproduces the error, Zod 4.3.6 builds successfully.

Related Issues

N/A

Type of Change

  • Content update/revision
  • Typo/formatting fix
  • Build fix

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • Links in the documentation are valid and working

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

Documentation Preview Ready

Your documentation preview has been successfully deployed!

Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-cms-800/docs/user-guide/quickstart/overview/

Updated at: 2026-04-30T14:56:25.786Z

@github-actions
Copy link
Copy Markdown
Contributor

Documentation Preview Failed

The documentation deployment encountered an error. Please check the deployment logs for more details.

lizradway
lizradway previously approved these changes Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Documentation Preview Failed

The documentation deployment encountered an error. Please check the deployment logs for more details.

Comment thread package.json
Comment thread src/content/docs/user-guide/quickstart/typescript.mdx
@pgrayy pgrayy merged commit 48368dc into strands-agents:main Apr 30, 2026
4 of 5 checks passed
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.

3 participants