fix(deps): update dependency @ai-sdk/anthropic to v2 #11
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^1.2.12
->^2.0.0
Release Notes
vercel/ai (@ai-sdk/anthropic)
v2.0.23
Compare Source
Patch Changes
5099b3d
]7a2bf8d
]v2.0.22
Compare Source
Patch Changes
v2.0.21
Compare Source
Patch Changes
581abea
]0857788
]3c178ec
]v2.0.20
Compare Source
Patch Changes
8e08229
: feat(provider/anthropic): web search tool updatesf77cc8c
: feat(provider/anthropic): add text_editor_20250728 tool supportAdd text_editor_20250728 tool for Claude 4 models (Sonnet 4, Opus 4, Opus 4.1) with optional max_characters parameter and no undo_edit command support.
9398a72
: fix(provider/anthropic): correct raw usage informationa80ea09
: feat(provider/anthropic): add web fetch tool53afb19
: chore(provider/anthropic): update anthropic model idsv2.0.19
Compare Source
Patch Changes
bc5ed71
: chore: update zod peer depenedency versionbc5ed71
]v2.0.18
Compare Source
Patch Changes
322901b
: feat: add provider version to user-agent headerv2.0.17
Compare Source
Patch Changes
bc5ed71
: chore: update zod peer depenedency version356c1f2
: chore (provider/google): Add preview modelIds for gemini 2.5 flash and litebc5ed71
]v2.0.16
Compare Source
Patch Changes
322901b
: feat: add provider version to user-agent headerv2.0.15
Compare Source
Patch Changes
967c463
: add promptFeedback outputsv2.0.14
Compare Source
Patch Changes
7f47105
: fix(provider/openai): support file_citation annotations in responses apiv2.0.13
Compare Source
Patch Changes
ddc9d99
: Implementslogprobs
for OpenAIproviderOptions
andproviderMetaData
inOpenAIResponsesLanguageModel
You can now set
providerOptions.openai.logprobs
when usinggenerateText()
and retrieve logprobs from the response viaresult.providerMetadata?.openai
v2.0.12
Compare Source
Patch Changes
034e229
]f25040d
]v2.0.11
Compare Source
Patch Changes
097b452
: feat(openai, azure): add configurable file ID prefixes for Responses APIfileIdPrefixes
option to OpenAI Responses API configurationassistant-
prefixed file IDs (replacing previousfile-
prefix support)file-
prefixfileIdPrefixes
is undefined, gracefully falling back to base64 processing87cf954
: feat(provider/openai): add support for prompt_cache_keya3d98a9
: feat(provider/openai): add support for safety_identifier110d167
: fix(openai): add missing file_search_call handlers in responses streaming8d3c747
: chore(openai): remove deprecated GPT-4.5-preview models and improve autocomplete controlUpdated dependencies [
38ac190
]v2.0.10
Compare Source
Patch Changes
63a5dc5
]v2.0.9
Compare Source
Patch Changes
1b5a3d3
]v2.0.8
Compare Source
Patch Changes
0857788
]v2.0.7
Compare Source
Patch Changes
4738f18
: feat(openai): add flex processing support for gpt-5 models013d747
: feat(openai): add verbosity parameter support for responses api35feee8
: feat(openai): add priority processing support for gpt-5 modelsv2.0.6
Compare Source
Patch Changes
034e229
]f25040d
]v2.0.5
Compare Source
Patch Changes
38ac190
]v2.0.4
Compare Source
Patch Changes
c9e0f52
]v2.0.3
Compare Source
Patch Changes
9fb0252
: fix(google): add thought signature support for reasoningv2.0.2
Compare Source
Patch Changes
90d212f
]v2.0.1
Compare Source
Patch Changes
bc45e29
]v2.0.0
Compare Source
Major Changes
d5f588f
: AI SDK 5Patch Changes
78e7fa9
: Add code execution provider defined toolf916255
: feat (provider/google): add new gemini models19a4336
: Expose raw usageMetadata returned from Google Generative AI in providerMetadata8af9e03
: Added Image Models to the Google Provider for Imagen 3 Support1a635b5
: update supportedUrls to only support native URL888b750
: feat(providers/google): Add taskType support for Text Embedding Models3259565
: feat (providers/google): add thinking config to provider optionse2aceaf
: feat: add raw chunk supporteb173f1
: chore (providers): remove model shorthand deprecation warnings6a16dcf
: embed() now uses the single embeddings endpointNo code updates are needed.
This is to make sure that users are not ratelimited when using the batch endpoint, since many models have different limits for batch and single embeddings.
Eg: Google has a limit of 150 RPM for batch requests, and 1500 RPM for single requests.
Before, AI SDK would always use the batch endpoint, even for embed() calls, which led to ratelimits.
This does not have any breaking functionality and is fully tested :)
if (values.length > 1) {
const batchResult = await this.doEmbedBatch({
values,
options,
});
return batchResult;
}
26735b5
: chore(embedding-model): add v2 interface5cf30ea
: fix (provider/google): allow "OFF" for Google HarmBlockThreshold443d8ec
: feat(embedding-model-v2): add response body fieldc68931f
: Support tool schemas that allow additional properties (e.gz.record(z.string())
)66962ed
: fix(packages): export node10 compatible typesa313780
: fix: omit system message for gemma modelsfd98925
: chore(providers/google): update embedding model to use providerOptionscb787ac
: fix: remove non-functional models7378473
: chore(providers/google): switch to providerOptionsf07a6d4
: fix(providers/google): accept nullish in safetyRatings75f03b1
: Add Gemini 2.5 Flash Lite GA779d916
: feat: add provider option schemas for vertex imagegen and google genai581a9be
: fix (provider/google): prevent error when thinking signature is used2e06f14
: feat (provider/google): Change to provider defined tools8e6b69d
: feat(providers/google): Add support for Gemini 2.5 Pro and Gemini 2.5 Flash (now stable)42fcd32
: feat(google): automatically handle system instructions for Gemma modelsd1a034f
: feature: using Zod 4 for internal stufffd65bc6
: chore(embedding-model-v2): rename rawResponse to response878bf45
: removes (unsupported)additionalProperties
from the Schema sent in the request payloads to Google APIs0f05690
: Add gemini-embedding-001 model, add embedding provider options type export7badba2
: fix(google): grounding streaming sources205077b
: fix: improve Zod compatibilityf10304b
: feat(tool-calling): don't require the user to have to pass parametersUpdated dependencies [
a571d6e
]Updated dependencies [
742b7be
]Updated dependencies [
e7fcc86
]Updated dependencies [
7cddb72
]Updated dependencies [
ccce59b
]Updated dependencies [
e2b9e4b
]Updated dependencies [
95857aa
]Updated dependencies [
45c1ea2
]Updated dependencies [
6f6bb89
]Updated dependencies [
060370c
]Updated dependencies [
dc714f3
]Updated dependencies [
b5da06a
]Updated dependencies [
d1a1aa1
]Updated dependencies [
63f9e9b
]Updated dependencies [
5d142ab
]Updated dependencies [
d5f588f
]Updated dependencies [
e025824
]Updated dependencies [
0571b98
]Updated dependencies [
b6b43c7
]Updated dependencies [
4fef487
]Updated dependencies [
48d257a
]Updated dependencies [
0c0c0b3
]Updated dependencies [
0d2c085
]Updated dependencies [
40acf9b
]Updated dependencies [
9222aeb
]Updated dependencies [
e2aceaf
]Updated dependencies [
411e483
]Updated dependencies [
8ba77a7
]Updated dependencies [
7b3ae3f
]Updated dependencies [
a166433
]Updated dependencies [
26735b5
]Updated dependencies [
443d8ec
]Updated dependencies [
a8c8bd5
]Updated dependencies [
abf9a79
]Updated dependencies [
14c9410
]Updated dependencies [
e86be6f
]Updated dependencies [
9bf7291
]Updated dependencies [
2e13791
]Updated dependencies [
9f95b35
]Updated dependencies [
66962ed
]Updated dependencies [
0d06df6
]Updated dependencies [
472524a
]Updated dependencies [
dd3ff01
]Updated dependencies [
d9c98f4
]Updated dependencies [
05d2819
]Updated dependencies [
9301f86
]Updated dependencies [
0a87932
]Updated dependencies [
c4a2fec
]Updated dependencies [
957b739
]Updated dependencies [
79457bd
]Updated dependencies [
a3f768e
]Updated dependencies [
7435eb5
]Updated dependencies [
8aa9e20
]Updated dependencies [
4617fab
]Updated dependencies [
ac34802
]Updated dependencies [
0054544
]Updated dependencies [
cb68df0
]Updated dependencies [
ad80501
]Updated dependencies [
68ecf2f
]Updated dependencies [
9e9c809
]Updated dependencies [
32831c6
]Updated dependencies [
6dc848c
]Updated dependencies [
6b98118
]Updated dependencies [
d0f9495
]Updated dependencies [
63d791d
]Updated dependencies [
87b828f
]Updated dependencies [
3f2f00c
]Updated dependencies [
bfdca8d
]Updated dependencies [
0ff02bb
]Updated dependencies [
7979f7f
]Updated dependencies [
39a4fab
]Updated dependencies [
44f4aba
]Updated dependencies [
9bd5ab5
]Updated dependencies [
57edfcb
]Updated dependencies [
faf8446
]Updated dependencies [
7ea4132
]Updated dependencies [
d1a034f
]Updated dependencies [
5c56081
]Updated dependencies [
fd65bc6
]Updated dependencies [
023ba40
]Updated dependencies [
ea7a7c9
]Updated dependencies [
26535e0
]Updated dependencies [
e030615
]Updated dependencies [
5e57fae
]Updated dependencies [
393138b
]Updated dependencies [
c57e248
]Updated dependencies [
88a8ee5
]Updated dependencies [
41fa418
]Updated dependencies [
205077b
]Updated dependencies [
71f938d
]Updated dependencies [
3795467
]Updated dependencies [
28a5ed5
]Updated dependencies [
7182d14
]Updated dependencies [
c1e6647
]Updated dependencies [
1766ede
]Updated dependencies [
811dff3
]Updated dependencies [
f10304b
]Updated dependencies [
dd5fd43
]Updated dependencies [
33f4a6a
]Updated dependencies [
383cbfa
]Updated dependencies [
27deb4d
]Updated dependencies [
c4df419
]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 was generated by Mend Renovate. View the repository job log.