fix(deps): update dependency @ai-sdk/anthropic to v4#100
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
22e5b1f to
2c7182a
Compare
2c7182a to
5998b33
Compare
5998b33 to
9403944
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:
^3.0.66→^4.0.0Release Notes
vercel/ai (@ai-sdk/anthropic)
v4.0.1Compare Source
Patch Changes
6a436e3]v4.0.0Compare Source
Major Changes
832f86f: fix(anthropic): remove cacheCreationInputTokens from providerMetadata34bd95d: feat(ai): add support for uploading provider skills using the provider references abstractionef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers usingrequire()must switch to ESMimportsyntax.c29a26f: feat(provider): add support for provider references and uploading files as supported per provider3887c70: feat(provider): add new top-level reasoning parameter to spec and support it ingenerateTextandstreamText8359612: Start v7 pre-release04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbolsFor all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
Patch Changes
e02f041: feat(provider/anthropic): add support forclaude-opus-4-8648705c: fix(provider/anthropic): fix remaining errors with Anthropiccode_executiontool dynamic calls from latestweb_fetchorweb_search38fc777: Add AI Gateway hint to provider READMEsee798eb: chore(provider-utils): renameExperimental_SandboxtoExperimental_SandboxSessione748b35: chore: update v3 specs to v419c5ee2: fix(anthropic): reorder assistant content b/w client and provider tool use0ee8aec: feat (provider/anthropic): support passing metadata.user_idc012d57: feat(anthropic): sanitize the unsupported JSON schema validation properties8018480: feat(anthropic): add the new advisor toole5c4f40: Remove staleeffort-2025-11-24beta header — the extended thinking effort parameter is GA and no longer requires the beta flag. Vertex AI's strict validator was actively rejecting requests with this header.f57c702: fix(anthropic): allow both temperature and topP for non-Anthropic models using the Anthropic-compatible APIThe temperature/topP mutual exclusivity check now only applies to known Anthropic models (model IDs starting with
claude-). Non-Anthropic models using the Anthropic-compatible API (e.g. Minimax) can now send both parameters as required by their APIs.2610e84: feat(provider/anthropic): automatically use sandbox in bash toold848405: feat: add optionalabortSignalparameters to sandbox command execution87d1723: chore(anthropic): remove unnecessary messages affix from Anthropic symbols and files9f0e36c: trigger release for all packages after provenance setupacdbf84: Handle errors from anthropic websearch toolad0b376: fix(provider/anthropic): stop addingfine-grained-tool-streaming-2025-05-14beta forclaude-opus-4-758a2ad7: fix: more precise default message for tool execution denial21d1ee3: fix(anthropic): skip passing beta header for tool search tools1fe058b: fix(anthropic): preserve the error code returned by model7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.09bd27b: feat (provider/anthropic): add support for inference_geo provider option0c4c275: trigger initial canary release6fd51c0: fix(provider): preserve error type prefix in getErrorMessagee311194: feat(ai): allow passing provider instance touploadFileanduploadSkillas shorthand6c93e36: feat(provider-utils): addspawnCommandmethod toExperimental_Sandboxto allow for detached command execution9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type258c093: chore: ensure consistent import handling and avoid import duplicates or cycles5463d0d: feat(provider): align tool result output content file part types with top-level message file part typesb8396f0: trigger initial beta release6b4d325: feat(provider/anthropic): add support forclaude-fable-5and thefallbacksAPI parameterf05a40d: fix(vertex): throw warning when strict: true for vertexAnthropica6617c5: feat(provider-utils): addreadFileandwriteFileplus convenience wrappers toExperimental_Sandboxabstractiona464505: fix(anthropic): propagate toModelOutput providerOption to anthropic tool results90e2d8a: chore: fix unused vars not being flagged by our lint toolingb3976a2: Add workflow serialization support to all provider models.@ai-sdk/provider-utils: NewserializeModel()helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.All providers:
headersis now optional in provider config types. This is non-breaking — existing code that passesheaderscontinues to work. Custom provider implementations that construct model configs manually can now omitheaders, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.All provider model classes now include
WORKFLOW_SERIALIZEandWORKFLOW_DESERIALIZEstatic methods, enabling them to cross workflow step boundaries without serialization errors.0d8f107: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancementsff5eba1: feat: rollimage-*tool output types into their equivalentfile-*typesConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.