Skip to content

docs(tanstack-ai): use Claude Sonnet 4.6 in Anthropic examples - #692

Open
JunaidAhamed-7777 wants to merge 1 commit into
cloudflare:mainfrom
JunaidAhamed-7777:docs/tanstack-claude-sonnet-46
Open

JunaidAhamed-7777 wants to merge 1 commit into
cloudflare:mainfrom
JunaidAhamed-7777:docs/tanstack-claude-sonnet-46

Conversation

@JunaidAhamed-7777

Copy link
Copy Markdown

What changed

Use Claude Sonnet 4.6 in the TanStack AI package README and gateway guide. Anthropic schedules the Claude Sonnet 4.5 snapshot and its undated alias for retirement on November 30, 2026.

The locked TanStack Anthropic adapter accepts the active 4.6 model but does not yet type Sonnet 5.5, Anthropic's recommended replacement. These examples can use 4.6 without a cast or dependency update.

Testing

Type-checked the constructor against the published Cloudflare TanStack adapter and the locked Anthropic adapter. Ran both documented model settings before and after against a mocked gateway: the Anthropic Messages request inside the universal gateway envelope changed only its model ID and returned the same synthetic streamed text. No live gateway or provider call. git diff --check passed.

The getarbor.dev database was used for context.

@changeset-bot

changeset-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9a557d2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant