github vercel/ai @ai-sdk/anthropic@3.0.93

latest releases: @ai-sdk/openai@4.0.8, @ai-sdk/azure@4.0.8, @ai-sdk/amazon-bedrock@5.0.12...
5 hours ago

Patch Changes

  • 4241b49: fix(anthropic): forward thinking: { type: 'disabled' } to the API instead of stripping it

    Previously, setting providerOptions.anthropic.thinking = { type: 'disabled' } was accepted by the schema but silently dropped from the outgoing request. For models that default thinking on (e.g. Sonnet 5), this left thinking enabled and could consume a small max_tokens budget entirely. The disabled value is now sent to the Anthropic Messages API.

Don't miss a new ai release

NewReleases is sending notifications on new releases.