fix(deps): update dependency @ai-sdk/google to v3#253
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
2187258 to
6b96eb1
Compare
6b96eb1 to
22d7981
Compare
22d7981 to
e67cc8a
Compare
e67cc8a to
ba06dd4
Compare
ba06dd4 to
0feb481
Compare
0feb481 to
10d16ef
Compare
10d16ef to
b872123
Compare
b872123 to
ddff961
Compare
ddff961 to
1ef8725
Compare
1ef8725 to
d543e93
Compare
d543e93 to
46ff582
Compare
46ff582 to
67df8e1
Compare
8613420 to
aa5c839
Compare
aa5c839 to
d6a7c4d
Compare
d6a7c4d to
8cc3e44
Compare
8cc3e44 to
ca7b2e0
Compare
ca7b2e0 to
2d74238
Compare
2d74238 to
46f31e1
Compare
46f31e1 to
335084b
Compare
335084b to
9eddf8b
Compare
9eddf8b to
34362fc
Compare
34362fc to
ba9e1fc
Compare
ba9e1fc to
ecfa5cf
Compare
ecfa5cf to
ad22d28
Compare
ad22d28 to
10655e8
Compare
10655e8 to
22c71ce
Compare
Contributor
Author
|
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:
^1.2.8→^3.0.0Release Notes
vercel/ai (@ai-sdk/google)
v3.0.80Compare Source
Patch Changes
f62ffe0: fix(google): auto-injectskip_thought_signature_validatorfor Gemini 3 tool-call replays without a signatureGemini 3 models reject requests when an assistant
functionCallpart lacks athoughtSignaturewith HTTP 400"Function call is missing a thought_signature in functionCall parts."This is easy to hit when application code persists/serializes messages and dropsproviderOptions.google.thoughtSignature(custom DB schemas,useChatserver routes that rebuild messages, synthetic tool-call injection).The provider now detects this case (Gemini 3 model + missing signature under
google,googleVertex, andvertexnamespaces) and injects the documentedskip_thought_signature_validatorsentinel into the outboundfunctionCall, plus surfaces a one-shot warning per request listing the affected tool names so the developer can find and fix the upstream serialization. Non-Gemini-3 models are unaffected, and real signatures take precedence when present.v3.0.79Compare Source
Patch Changes
cfa0cb2: feat(provider/google): support Google search grounding when usinggenerateImagewith Geminiv3.0.78Compare Source
Patch Changes
cf63828: fix(google): readserviceTierfromusageMetadata.serviceTierin both generate and stream pathsThe previous implementation read
serviceTierfrom thex-gemini-service-tierresponse header, which is only populated on non-streaming responses. Gemini
streaming includes the value in
usageMetadata.serviceTieron every chunk, soproviderMetadata.google.serviceTierwas alwaysnullfor streams. Read fromusageMetadatafor both paths instead.v3.0.77Compare Source
Patch Changes
0f9f9bf: feat(google): readserviceTierfromx-gemini-service-tierresponse header in Gemini API and use PayGo for Vertexv3.0.75Compare Source
Patch Changes
ab15576: feat(google): update Interactions API implementation to cater for upstream breaking changes coming May 26v3.0.74Compare Source
Patch Changes
3ca0daa: fix(provider/google): supportfunctionCall.idwhen returned by Gemini API and provide matchingfunctionResponse.idv3.0.73Compare Source
Patch Changes
bb1eb98: feat(google): addfileDatasupport to embedding modelv3.0.72Compare Source
Patch Changes
b3642fe: feat(provider/google): support cancelling long-running Interactions API agents via AbortSignal, and process their intermittent streamv3.0.71Compare Source
Patch Changes
59530cf: fix(google): emit Vertex no-args streaming tool calls and preserve thoughtSignatureVertex emits a no-args function call as a single chunk shaped
{ functionCall: { name: 'X' } }with noargs, nopartialArgs, and nowillContinue. The streaming parser had no branch for this shape, so the call was dropped along with anythoughtSignatureit carried. For Gemini 3 thinking models this caused the next multi-turn step to 400 withmissing thought_signature. The unary (doGenerate) path had the same drop.Both paths now emit the call as a complete tool call with
'{}'input and propagatethoughtSignatureprovider metadata.Fixes #14847.
v3.0.70Compare Source
Patch Changes
4f3f564: fix(provider/google): fix lack of image consistency when using Interactions API in stateless modev3.0.68Compare Source
Patch Changes
e0f8c9e: feat(provider/google): add support for the Gemini Interactions APIv3.0.67Compare Source
Patch Changes
7beadf0]v3.0.66Compare Source
Patch Changes
a727da4: chore: ensure consistent import handling and avoid import duplicates or cyclesa727da4]v3.0.65Compare Source
Patch Changes
a7f3c72: trigger release for all packages after provenance setupa7f3c72]v3.0.64Compare Source
Patch Changes
71c52e0: chore(provider/google): update available modelsv3.0.63Compare Source
Patch Changes
1e1a5ab: fix(google): fixserviceTierto be correctly formatted for Vertex APIv3.0.62Compare Source
Patch Changes
46a3584: fix(google-vertex): don't send streamFunctionCallArguments for unary API calls and change default to falsev3.0.61Compare Source
Patch Changes
03a04f6: feat(google-vertex): add support for streaming tool arguments inputv3.0.60Compare Source
Patch Changes
d42076d: Add AI Gateway hint to provider READMEsv3.0.59Compare Source
Patch Changes
6247886: chore(provider-utils,google): fix grammar errors in error and warning messages6247886]v3.0.58Compare Source
Patch Changes
f20ba77: feat(provider/google): preserve per-modality token details in usage datav3.0.57Compare Source
Patch Changes
0f2b2f1: fix(provider/google): fix Gemini service tier enum after upstream updatev3.0.56Compare Source
Patch Changes
0469aed]v3.0.55Compare Source
Patch Changes
bdde9d4: feat(provider/google): support combining built-in tools with function calling on Gemini 3v3.0.54Compare Source
Patch Changes
4e22c2c: feat(provider/google): add support for service tier parameterv3.0.53Compare Source
Patch Changes
2e5adff: chore(provider/google): remove obsolete Google image modelv3.0.52Compare Source
Patch Changes
055cd68: fix: publish v6 to latest npm dist tag47114a3: feat(provider/google): Add multimodal tool-result support for Google function responses.Tool results with
output.type = 'content'now map media parts intofunctionResponse.partsfor Google models, includingimage-data,file-data, and base64data:URLs in URL-style content parts.Remote HTTP(S) URLs in URL-style tool-result parts are not supported.
Updated dependencies [
055cd68]v3.0.51Compare Source
Patch Changes
8901054: feat(google): add new finishMessage field in providerMetadatav3.0.50Compare Source
Patch Changes
5ffb1ad: feat(provider/google): addgemini-embedding-2-previewand fix multimodal embedding support withembedManyv3.0.49Compare Source
Patch Changes
85f4bb4: fix(provider/google): correct JSDoc for multimodal embedding content optionv3.0.48Compare Source
Patch Changes
35c46d1: feat(provider/google): support multimodal content parts in embedding provider optionsv3.0.47Compare Source
Patch Changes
9d46b93: fix(provider/google): correctly mark reasoning files as such and fix related multi-turn errorsv3.0.46Compare Source
Patch Changes
64ac0fd]v3.0.45Compare Source
Patch Changes
e2a59ef: fix(provider/google): preserve groundingMetadata and urlContextMetadata when they arrive in a stream chunk before the finishReason chunkv3.0.44Compare Source
Patch Changes
45d71c3: fix(google): use VALIDATED function calling mode when any tool has strict:truev3.0.43Compare Source
Patch Changes
7ba09a4: Fix gateway failover losing thoughtSignature when failing over from Vertex to Google AI Studio. The Google provider now falls back to checking the vertex namespace for thoughtSignature, matching the existing Vertex-to-Google fallback behavior.v3.0.42Compare Source
Patch Changes
ad4cfc2]v3.0.41Compare Source
Patch Changes
824b295]v3.0.40Compare Source
Patch Changes
89d8b45: fix(google): make urlMetadata optional in urlContextMetadata schemav3.0.39Compare Source
Patch Changes
2565e70: feat(google): add support for image search, replace obsolete google_search_retrieval implementationv3.0.38Compare Source
Patch Changes
2291047: fix(ai): fix missing support for image thought signatures (e.g. for Gemini image models)v3.0.37Compare Source
Patch Changes
10bec50: feat(provider/google): addgemini-3.1-flash-lite-previewv3.0.36Compare Source
Patch Changes
08336f1]v3.0.35Compare Source
Patch Changes
64a8fae: chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAIv3.0.34Compare Source
Patch Changes
58bc42d]v3.0.33Compare Source
Patch Changes
1ece97a: feat(provider/google): add support for new Google image model aspect ratios and sizesv3.0.32Compare Source
Patch Changes
45f0a7f: feat(provider/google): add support for gemini-3.1-flash-image-previewv3.0.31Compare Source
Patch Changes
2fa3ca8: Added missing model IDs to GoogleGenerativeAIModelId and GoogleGenerativeAIVideoModelId types for better autocomplete support.v3.0.30Compare Source
Patch Changes
765b013: feat(provider/google): add support forgemini-3.1-pro-previewv3.0.29Compare Source
Patch Changes
4024a3a]v3.0.28Compare Source
Patch Changes
5a307f5: feat(provider/google-vertex): allow using Gemini image models withgenerateImagev3.0.27Compare Source
Patch Changes
051361b: fix(vertex): add fallback for providerOptions keynamev3.0.26Compare Source
Patch Changes
4c27179: feat(google): allow using Gemini image models withgenerateImagev3.0.25Compare Source
Patch Changes
99fbed8: feat: normalize provider specific model options type names and ensure they are exportedv3.0.24Compare Source
Patch Changes
3b3e32f: fix(google): handle thoughtSignature on empty-text parts in doGenerate and doStreamv3.0.23Compare Source
Patch Changes
ba98c56: fix(google): makecodeExecutionResult.outputoptional in response schemaGemini 3 Flash omits the
outputfield incodeExecutionResultwhen code execution produces no text output (e.g., only saves files). The Zod response schema now accepts a missingoutputfield and defaults it to an empty string.v3.0.22Compare Source
Patch Changes
7168375: feat (ai, provider): default global provider video model resolution7168375]v3.0.21Compare Source
Patch Changes
ae30443: fix(google): remove shut downgemini-2.5-flash-image-previewv3.0.20Compare Source
Patch Changes
53f6731: feat (ai, provider): experimental generate video support53f6731]v3.0.19Compare Source
Patch Changes
96936e5]v3.0.18Compare Source
Patch Changes
2810850]v3.0.17Compare Source
Patch Changes
1524271: chore: add skill information to README filesv3.0.16Compare Source
Patch Changes
97b3ebb: fix (provider/google): makesegmentoptional ingroundingSupportsschemaThe Google Generative AI API sometimes returns grounding supports without a
segmentfield. This change makes thesegmentfield optional to handle these responses correctly.v3.0.15Compare Source
Patch Changes
2c70b90: chore: update provider docsv3.0.14Compare Source
Patch Changes
462ad00]v3.0.13Compare Source
Patch Changes
4de5a1d: chore: excluded tests from src folder in npm package4de5a1d]v3.0.12Compare Source
Patch Changes
2b8369d: chore: add docs to package distv3.0.11Compare Source
Patch Changes
8dc54db: chore: add src folders to package bundlev3.0.10Compare Source
Patch Changes
5c090e7]v3.0.9Compare Source
Patch Changes
46f46e4]v3.0.8Compare Source
Patch Changes
1b11dcb]v3.0.7Compare Source
Patch Changes
34d1c8a]v3.0.6Compare Source
Patch Changes
2043612: fix(google): parse structured output when using google provider toolsv3.0.5Compare Source
Patch Changes
3be4d81: Add file support for Gemini 3 modelsv3.0.4Compare Source
Patch Changes
7ba09a4: Fix gateway failover losing thoughtSignature when failing over from Vertex to Google AI Studio. The Google provider now falls back to checking the vertex namespace for thoughtSignature, matching the existing Vertex-to-Google fallback behavior.v3.0.3Compare Source
Patch Changes
2565e70: feat(google): add support for image search, replace obsolete google_search_retrieval implementationv3.0.2Compare Source
Patch Changes
4024a3a]v3.0.1Compare Source
Patch Changes
96936e5]v3.0.0Compare Source
Major Changes
dee8b05: ai SDK 6 betaMinor Changes
78928cb: release: start 5.1 betaPatch Changes
0c3b58b: fix(provider): add specificationVersion to ProviderV30adc679: feat(provider): shared spec v39be07c8: feat(google):thinking_leveloption for Gemini 3fd788ce: fix(provider/google): preserve nested empty object schemas and descriptions in tool parameters8d9e8ad: chore(provider): remove generics from EmbeddingModelV3Before
After
2625a04: feat(openai); update spec for mcp approval7728ac5: The mediaResolution option has been added and is now passed to the Google API.9a728c8: support latest gemini model id32a6c13: Add Google Maps grounding tool support for location-aware Gemini responses95f65c2: chore: use import * from zod/v4e300a3b: Fixed Zod validation error when usinggoogle.tools.fileSearch(). The Google File Search API returnsfileSearchStoreinstead ofuriinretrievedContext. UpdatedextractSources()function to handle both the old format (Google Search withuri) and new format (File Search withfileSearchStore), maintaining backward compatibility while preventing validation errors. Also fixed title handling to useundefinedfor URL sources and'Unknown Document'for document sources.218bba1: fix(google): use dynamic providerOptionsName when retrieving thoughtSignature in convertToGoogleGenerativeAIMessagesWhen using @ai-sdk/google-vertex provider with Gemini thinking models, multi-step tool calls would fail with "function call is missing a thought_signature" error. This was because thoughtSignature was stored under providerOptions.vertex but retrieved using hardcoded providerOptions.google. This fix passes providerOptionsName to convertToGoogleGenerativeAIMessages and uses it dynamically.
954c356: feat(openai): allow custom names for provider-defined tools0b92881: Add Google Vertex RAG Engine grounding provider tool544d4e8: chore(specification): rename v3 provider defined tool to provider tool0c4822d: feat:EmbeddingModelV3f8c981f: Fix adding google search along with url context in vertex ai6078060: fix(provider/google): remove includethoughts warningbb28cac: Change streamText loop to merge file part processing into main parts loopfff8d59: feat(provider/google): Add support for the imageSize provider option1742445: Support for custom provider name in google and anthropic providerse8109d3: feat: tool execution approvaled329cb: feat:Provider-V33bd2689: feat: extended token usage1cad0ab: feat: add provider version to user-agent header9b17031: Improve error message when mixing function tools with provider-defined tools to clarify fallback behavior and list ignored function tools8dac895: feat:LanguageModelV3ee50cc5: fix(provider/google): lazy schema loadingimport time improved by 12.5% (22.3ms ➡️ 19.5ms)
457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings0ad470b: feat(provider/google): add enterpriseWebSearch tooldb913bd: fix(google): add thought signature to gemini 3 pro image parts9061dc0: feat: image editing8370068: fix(provider/google): preserve thoughtSignature through tool executionee8cd23: fix(vertex): allow 'vertex' as a key for providerOptions7dea60e: add promptFeedback outputs366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases8ee8edc: Prepare search tool for gemini-3-pro-preview2825757: Add Google File search tool4616b86: chore: update zod peer depenedency version33d9327: addgemini-3-pro-previewandgemini-3-pro-image-previewmodel IDs0cfae4c: feat(vertex): support 'trafficType' in provider usageMetadata09ba2dd: SupportimageConfig.aspectRatioconfiguration for Gemini models32a8c82: feat: add gemini 3 pro166b6d7: fix(provider/google): preserve nested empty object schemas in tool parameters to fix "property is not defined" validation errors when using required properties with empty object types522f6b8: feat:ImageModelV3599a97f: fix: update gemini 3 model id49e2b6a: fix(google): return request as object3794514: feat: flexible tool output content supportcbf52cd: feat: expose raw finish reason870297d: feat(google): gemini-3-flash10c1322: fix: moved dependency@ai-sdk/test-serverto devDependenciesc8003fb: fix(@ai-sdk/google): Make title field optional in grounding metadata schema4d2e88e: fix(google,google-vertex): update known model IDse833473: chore (provider/google): Add preview modelIds for gemini 2.5 flash and liteUpdated dependencies
v2.0.74Compare Source
Patch Changes
00a1e93: feat(provider/google): addgemini-3.5-flashv2.0.73Compare Source
Patch Changes
f081ba8: fix(provider/google): supportfunctionCall.idwhen returned by Gemini API and provide matchingfunctionResponse.idv2.0.72Compare Source
Patch Changes
783fa6c: chore: ensure consistent import handling and avoid import duplicates or cycles783fa6c]v2.0.71Compare Source
Patch Changes
0a00b9b: trigger release for all packages after provenance setup0a00b9b]v2.0.70Compare Source
Patch Changes
5543cd1: Add AI Gateway hint to provider READMEs6eeeb6f: fix(google): use VALIDATED function calling mode when any tool has strict:truev2.0.69Compare Source
Patch Changes
bfaafad: chore(provider/google): update available modelsv2.0.68Compare Source
Patch Changes
4c10694: fix(google): fixserviceTierto be correctly formatted for Vertex APIv2.0.67Compare Source
Patch Changes
84bbfee: feat(provider/google): preserve per-modality token details in usage datav2.0.66Compare Source
Patch Changes
d634323: fix(provider/google): fix Gemini service tier enum after upstream updatev2.0.65Compare Source
Patch Changes
a27a978]v2.0.64Compare Source
Patch Changes
fd3f1d3: feat(provider/google): add support for service tier parameterv2.0.63Compare Source
Patch Changes
7655bcf: feat(provider/google): Add multimodal tool-result support for Google function responses.Tool results with
output.type = 'content'now map media parts intofunctionResponse.partsfor Google models, includingimage-data,file-data, and base64data:URLs in URL-style content parts.Remote HTTP(S) URLs in URL-style tool-result parts are not supported.
v2.0.62Compare Source
Patch Changes
a608d48: feat(provider/google): addgemini-embedding-2-previewand fix multimodal embedding support withembedManyv2.0.61Compare Source
Patch Changes
3399b61: feat(provider/google): support multimodal content parts in embedding provider optionsv2.0.60Compare Source
Patch Changes
3f0102b: fix(provider/google): makesegmentoptional ingroundingSupportsschemaBackport of #12002. When using image search grounding, the Google API returns
groundingSupportsentries without asegmentfield, causing schema validation to fail with "Invalid JSON response".v2.0.59Compare Source
Patch Changes
8cf6b86: fix(provider/google): preserve groundingMetadata and urlContextMetadata when they arrive in a stream chunk before the finishReason chunkv2.0.58Compare Source
Patch Changes
6a2f01b]17d64e3]v2.0.57Compare Source
Patch Changes
4dda2a3: feat(google): add support for image search, replace obsolete google_search_retrieval implementationv2.0.56Compare Source
Patch Changes
a1c0208: feat(provider/google): add support for new Google image model aspect ratios and sizesv2.0.55Compare Source
Patch Changes
3749ed6: feat(provider/google): add support for gemini-3.1-flash-image-previewv2.0.54Compare Source
Patch Changes
5e921ed: feat(provider/google): add support forgemini-3.1-pro-previewv2.0.53Compare Source
Patch Changes
20565b8]v2.0.52Compare Source
Patch Changes
4953414: fix: trigger new release for@ai-v5dist-tag4953414]v2.0.51Compare Source
Patch Changes
cbc2dba: fix(provider/google): preserve nested empty object schemas and descriptions in tool parametersv2.0.50Compare Source
Patch Changes
7c30c1d: fix(provider/google): preserve nested empty object schemas in tool parameters to fix "property is not defined" validation errors when using required properties with empty object typesv2.0.49Compare Source
Patch Changes
3ea80e7: feat(provider/google): add enterpriseWebSearch toolv2.0.48Compare Source
Patch Changes
1bcc2d7: feat(google): gemini-3-flashv2.0.47Compare Source
Patch Changes
0e182c5: Add Google Maps grounding tool support for location-aware Gemini responsesv2.0.46Compare Source
Patch Changes
ef6d784](https://redirect.github.com/vercelConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.