Skip to content

Backport: fix(provider/google): support multimodal tool-result parts in function responses#13684

Merged
felixarntz merged 3 commits intorelease-v6.0from
backport-pr-12777-to-release-v6.0
Mar 20, 2026
Merged

Backport: fix(provider/google): support multimodal tool-result parts in function responses#13684
felixarntz merged 3 commits intorelease-v6.0from
backport-pr-12777-to-release-v6.0

Conversation

@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

@vercel-ai-sdk vercel-ai-sdk bot commented Mar 20, 2026

This is an automated backport of #12777 to the release-v6.0 branch. FYI @GidianB
This backport has conflicts that need to be resolved manually. Conflicts resolved.

git cherry-pick output

Auto-merging packages/google/src/convert-to-google-generative-ai-messages.test.ts
Auto-merging packages/google/src/convert-to-google-generative-ai-messages.ts
CONFLICT (content): Merge conflict in packages/google/src/convert-to-google-generative-ai-messages.ts
Auto-merging packages/google/src/google-generative-ai-language-model.ts
error: could not apply 18c1970e8... fix(provider/google): support multimodal tool-result parts in function responses (#12777)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"

@tigent tigent bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label maintenance CI, internal documentation, automations, etc provider/google Issues related to the @ai-sdk/google provider labels Mar 20, 2026
@felixarntz felixarntz marked this pull request as ready for review March 20, 2026 18:50
@felixarntz felixarntz enabled auto-merge (squash) March 20, 2026 18:51
@felixarntz felixarntz merged commit 47114a3 into release-v6.0 Mar 20, 2026
17 of 18 checks passed
@felixarntz felixarntz deleted the backport-pr-12777-to-release-v6.0 branch March 20, 2026 18:57
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor Author

vercel-ai-sdk bot commented Mar 20, 2026

🚀 Published in:

Package Version
ai 6.0.133
@ai-sdk/alibaba 1.0.13
@ai-sdk/amazon-bedrock 4.0.82
@ai-sdk/angular 2.0.134
@ai-sdk/anthropic 3.0.63
@ai-sdk/assemblyai 2.0.26
@ai-sdk/azure 3.0.48
@ai-sdk/baseten 1.0.40
@ai-sdk/black-forest-labs 1.0.26
@ai-sdk/bytedance 1.0.6
@ai-sdk/cerebras 2.0.41
@ai-sdk/cohere 3.0.27
@ai-sdk/deepgram 2.0.26
@ai-sdk/deepinfra 2.0.41
@ai-sdk/deepseek 2.0.26
@ai-sdk/elevenlabs 2.0.26
@ai-sdk/fal 2.0.27
@ai-sdk/fireworks 2.0.42
@ai-sdk/gateway 3.0.77
@ai-sdk/gladia 2.0.26
@ai-sdk/google 3.0.52
@ai-sdk/google-vertex 4.0.93
@ai-sdk/groq 3.0.31
@ai-sdk/huggingface 1.0.39
@ai-sdk/hume 2.0.26
@ai-sdk/klingai 3.0.10
@ai-sdk/langchain 2.0.139
@ai-sdk/llamaindex 2.0.133
@ai-sdk/lmnt 2.0.26
@ai-sdk/luma 2.0.26
@ai-sdk/mcp 1.0.30
@ai-sdk/mistral 3.0.26
@ai-sdk/moonshotai 2.0.12
@ai-sdk/open-responses 1.0.8
@ai-sdk/openai 3.0.47
@ai-sdk/openai-compatible 2.0.37
@ai-sdk/perplexity 3.0.25
@ai-sdk/prodia 1.0.24
@ai-sdk/provider-utils 4.0.21
@ai-sdk/react 3.0.135
@ai-sdk/replicate 2.0.26
@ai-sdk/revai 2.0.26
@ai-sdk/rsc 2.0.133
@ai-sdk/svelte 4.0.133
@ai-sdk/togetherai 2.0.41
@ai-sdk/valibot 2.0.22
@ai-sdk/vercel 2.0.39
@ai-sdk/vue 3.0.133
@ai-sdk/xai 3.0.72

felixarntz added a commit that referenced this pull request Mar 23, 2026
…in function responses (#13702)

## Summary

Manual backport of #13684

## Manual Verification

Run the included examples to verify.

## Checklist

<!--
Do not edit this list. Leave items unchecked that don't apply. If you
need to track subtasks, create a new "## Tasks" section

Please check if the PR fulfills the following requirements:
-->

- [x] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] I have reviewed this pull request (self-review)

## Future Work

N/A

## Related Issues

N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label maintenance CI, internal documentation, automations, etc provider/google Issues related to the @ai-sdk/google provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants