Skip to content

Backport: fix(provider/google): support functionCall.id when returned by Gemini API and provide matching functionResponse.id#15318

Merged
felixarntz merged 5 commits into
release-v6.0from
backport-pr-15317-to-release-v6.0
May 15, 2026
Merged

Backport: fix(provider/google): support functionCall.id when returned by Gemini API and provide matching functionResponse.id#15318
felixarntz merged 5 commits into
release-v6.0from
backport-pr-15317-to-release-v6.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 15, 2026

This is an automated backport of #15317 to the release-v6.0 branch. FYI @felixarntz
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
CONFLICT (modify/delete): packages/google/src/google-prompt.ts deleted in HEAD and modified in 41da50cbc (fix(provider/google): support `functionCall.id` when returned by Gemini API and provide matching `functionResponse.id` (#15317)).  Version 41da50cbc (fix(provider/google): support `functionCall.id` when returned by Gemini API and provide matching `functionResponse.id` (#15317)) of packages/google/src/google-prompt.ts left in tree.
error: could not apply 41da50cbc... fix(provider/google): support `functionCall.id` when returned by Gemini API and provide matching `functionResponse.id` (#15317)
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"

@felixarntz felixarntz marked this pull request as ready for review May 15, 2026 16:29
@felixarntz felixarntz added the backport Admins only: add this label to a pull request in order to backport it to the prior version label May 15, 2026
@felixarntz felixarntz merged commit 3ca0daa into release-v6.0 May 15, 2026
17 checks passed
@felixarntz felixarntz deleted the backport-pr-15317-to-release-v6.0 branch May 15, 2026 16:50
github-actions Bot added a commit that referenced this pull request May 15, 2026
@github-actions github-actions Bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

⚠️ Backport to release-v5.0 created but has conflicts: #15323

felixarntz added a commit that referenced this pull request May 15, 2026
…hen returned by Gemini API and provide matching `functionResponse.id` (#15323)

This is an automated backport of #15318 to the release-v5.0 branch. FYI
@github-actions[bot]
~~This backport has conflicts that need to be resolved manually.~~
Conflicts resolved.

### `git cherry-pick` output

```
CONFLICT (file location): examples/ai-functions/src/generate-text/google/function-call-id.ts added in 3ca0daa (Backport: fix(provider/google): support `functionCall.id` when returned by Gemini API and provide matching `functionResponse.id` (#15318)) inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to examples/ai-core/src/generate-text/function-call-id.ts.
CONFLICT (file location): examples/ai-functions/src/stream-text/google/function-call-id.ts added in 3ca0daa (Backport: fix(provider/google): support `functionCall.id` when returned by Gemini API and provide matching `functionResponse.id` (#15318)) inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to examples/ai-core/src/stream-text/function-call-id.ts.
Auto-merging packages/google/src/convert-to-google-generative-ai-messages.test.ts
CONFLICT (content): Merge conflict in 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
CONFLICT (content): Merge conflict in packages/google/src/google-generative-ai-language-model.ts
Auto-merging packages/google/src/google-generative-ai-prompt.ts
error: could not apply 3ca0daa... Backport: fix(provider/google): support `functionCall.id` when returned by Gemini API and provide matching `functionResponse.id` (#15318)
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"
```

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Felix Arntz <felix.arntz@vercel.com>
@github-actions
Copy link
Copy Markdown
Contributor Author

🚀 Published in:

Package Version
ai 6.0.183
@ai-sdk/amazon-bedrock 4.0.106
@ai-sdk/angular 2.0.184
@ai-sdk/anthropic 3.0.78
@ai-sdk/azure 3.0.65
@ai-sdk/gateway 3.0.115
@ai-sdk/google 3.0.74
@ai-sdk/google-vertex 4.0.129
@ai-sdk/langchain 2.0.189
@ai-sdk/llamaindex 2.0.183
@ai-sdk/openai 3.0.64
@ai-sdk/react 3.0.185
@ai-sdk/rsc 2.0.183
@ai-sdk/svelte 4.0.183
@ai-sdk/vue 3.0.183

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant