Uh oh!
There was an error while loading. Please reload this page.
feat: bump AI SDK to v6 + add Opus 4.6 adaptive thinking - #13228
feat: bump AI SDK to v6 + add Opus 4.6 adaptive thinking#13228cascadingstyletrees wants to merge 2 commits into
Conversation
- Bump ai core 5.0.124 to 6.0.81 - Bump @ai-sdk/provider 2.0.1 to 3.0.8 - Bump @ai-sdk/provider-utils 3.0.20 to 4.0.14 - Bump all 16 @ai-sdk/* provider packages to latest - Fix renamed exports: createProviderDefined* to createProviderTool* (6 files) - Remove deprecated 'name' property from tool factories (6 files) - Fix LanguageModel V2/V3 type compatibility across provider, session, and transform - Make toModelMessages async (convertToModelMessages is now async in ai@6) - Add Opus 4.6 variant detection in transform.ts (high/max/fast)
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found 2 potentially related PRs:
These could be checking if there's overlap in the Opus 4.6 adaptive thinking implementation between these PRs. |
cascadingstyletrees
commented
Feb 12, 2026
Closing in favor of #12342 which covers the same SDK v6 bump + Opus 4.6 adaptive thinking support, plus additional fixes (token counting, plugin). Apologies for the duplicate. |
Fixes#13227
Bumps the full AI SDK ecosystem from v5 to v6 and adds Claude Opus 4.6 adaptive thinking support.
Changes
SDK bump (17 files, 199+/171-):
aicore: 5.0.124 → 6.0.81@ai-sdk/provider: 2.0.1 → 3.0.8@ai-sdk/provider-utils: 3.0.20 → 4.0.14@ai-sdk/*provider packages to latestBreaking change fixes:
createProviderDefinedToolFactory*→createProviderToolFactory*(6 files)nameproperty from tool factories (6 files)LanguageModelV2→LanguageModelunion for V2/V3 compatconvertToModelMessagesis now async →toModelMessagesmade async + callers updatedLanguageModelV3MiddlewarerequiresspecificationVersionPromiseLikedoesn't have.catch()→ wrapped withPromise.resolve()Opus 4.6 variants (transform.ts):
high: adaptive thinking + effort highmax: adaptive thinking + effort maxfast: adaptive thinking + effort high + speed fastVerification
bun install✓bun run typecheck✓ (all 12 packages)bun run build --single✓opencode modelslists all providers correctly