Repository navigation
Update dependency @ai-sdk/anthropic to v4.0.94 - #478
Open
mchesterbot[bot] wants to merge 1 commit into
Open
mchesterbot[bot] wants to merge 1 commit into
mchesterbot[bot] wants to merge 1 commit into
Conversation
|
Claude finished @mchesterbot[bot]'s task in 18s —— View job Review of the
|
mchesterbot
Bot
force-pushed
the
renovate/ai-sdk-anthropic-4.x
branch
from
October 29, 2026 18:03
918e536 to
3e11197
Compare
mchesterbot
Bot
force-pushed
the
renovate/ai-sdk-anthropic-4.x
branch
from
October 30, 2026 16:03
3e11197 to
d2f1d46
Compare
mchesterbot
Bot
force-pushed
the
renovate/ai-sdk-anthropic-4.x
branch
from
October 30, 2026 23:02
d2f1d46 to
785c09d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.0.90→4.0.94Release Notes
vercel/ai (@ai-sdk/anthropic)
v4.0.94Compare Source
Patch Changes
f4c5f1e: fix(anthropic): use native structured outputs for Claude models that reject forced tool use (Sonnet 5.5, Opus 5.5, Fable 5.1) even when the provider disables them by default, as Amazon Bedrock and Google Vertex do. Self-referencing schemas keep the JSON response tool. Also keepdefinitionsand$defsnext to a top-level$refwhen sanitizing structured output schemas, so the reference still resolves.e10aebb: fix(anthropic): when the JSON response tool is in use but the model answers in text without calling it (for example with manual thinking, where the forced tool choice is downgraded toauto), return the final answer text instead of dropping it. Text before a tool call, result, or message continuation is still dropped.b0d51fe: fix(anthropic): keep the JSON response tool for schemas that native structured outputs cannot represent when upgrading models that reject forced tool use. Schemas with open objects (maps, free-form objects) would otherwise come back as{}, and schemas with more than 10 optional properties can be rejected as too complex.v4.0.93Compare Source
Patch Changes
dcd2f8d: Introduce a model entry contract with named capability sections and request configuration. Consolidate the OpenAI and Anthropic model catalogs so existing request behavior and generated capability documentation use the same source of truth. Catalogs also declare the provider options each provider accepts and which models support them.7716e18]5c247e9]dcd2f8d]v4.0.92Compare Source
Patch Changes
61a315e: fix: map the top-levelreasoningoption consistently across providersProviders now resolve reasoning the same way:
providerOptionsis sent unchanged. OpenAI no longer dropsproviderOptions.openai.reasoningEffortvalues that are not in its list for the model, and Fireworks no longer rewritesproviderOptions.fireworks.reasoningEffort. Fireworks also sends top-levelreasoningvalues directly instead of rounding them to'high'at most, except for model families known to reject'none'(GPT-OSS, GLM-5.3, Muse Spark) or'minimal'(Nemotron, Inkling).reasoningmaps to the closest level the model supports, rounding down, and rounds up only when there is no lower level. For example,'xhigh'now maps to'high'instead of'max'on Anthropic and Bedrock models withoutxhigheffort, and'medium'maps to'low'instead of'high'on DeepSeek, Kimi K3, and Mistral GLM-5.3 models.'none'on a model that cannot disable reasoning maps to the model's lowest level with a compatibility warning, instead of being dropped or sending a request the API rejects. This affects GPT-6 models without'none', xAI grok-4.5 and later, Groq GPT-OSS, Kimi K3, Perplexity, QuiverAI, Bedrock OpenAIgpt-ossmodels, and Gemini 2.5 Pro (minimum thinking budget). Gemini 3 and Anthropic and Bedrockbetween_toolsmappings now emit the compatibility warning too.mapReasoningToProviderEffortnow accepts anyreasoningvalue, returns an optionalproviderOptionsEffortunchanged, and rounds levels that are missing from the effort map to the closest supported level.mapReasoningToProviderBudgetmaps'none'to the minimum reasoning budget, always returns a budget, and uses the default percentage for levels missing frombudgetPercentages.OpenAICompatibleChatConfigadds an optionalmapReasoningfunction for mapping the top-levelreasoningoption.Updated dependencies [
61a315e]v4.0.91Compare Source
Patch Changes
50da4c5: Fix workflow serialization of Anthropic models using API keys or synchronous auth tokens while preserving support for asynchronous token providers.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.