fix(google): map code execution tool name - #20260
Merged
Merged
Conversation
n1ckoates
marked this pull request as ready for review
September 2, 2026 23:56
felixarntz
approved these changes
Sep 3, 2026
Merged
gr2m
pushed a commit
that referenced
this pull request
Sep 4, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## ai@7.0.93 ### Patch Changes - df6c009: fix(ai): use new message ID when replacing a message in `sendMessage` - 6ee74a3: fix(ai): preserve tool part titles when validating UI messages - f13d371: fix(ai): preserve provider metadata when converting failed tool calls - d4485fe: feat(ai): support minItems and maxItems in array outputs - 4f201cc: chore(ai): formally include already supported `onLanguageModelCallStart` and `onLanguageModelCallEnd` in `ToolLoopAgentSettings` type - 8cdb2a7: fix(ai): decode text data URLs in Node.js - 0f2281e: fix(ai): reject embedding responses whose count does not match the input values - fc8e8ac: fix(ai): preserve image call diagnostics when no image is generated - ee8391e: fix(ai): support abort signals when the global AbortSignal is not a constructor - Updated dependencies [3cfc1fc] - @ai-sdk/gateway@4.0.75 ## @ai-sdk/amazon-bedrock@5.0.75 ### Patch Changes - d0b6d6d: fix(bedrock): preserve provider-executed tool results when replaying messages - 770c214: fix(amazon-bedrock): sanitize document filenames before sending them to Bedrock - 1ee6b1f: fix(amazon-bedrock): return text from citation content responses - Updated dependencies [4af00d1] - Updated dependencies [abb9ebf] - @ai-sdk/openai@4.0.59 ## @ai-sdk/angular@3.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/azure@4.0.62 ### Patch Changes - Updated dependencies [4af00d1] - Updated dependencies [abb9ebf] - @ai-sdk/openai@4.0.59 ## @ai-sdk/baseten@2.1.22 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 ## @ai-sdk/cerebras@3.0.44 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 ## @ai-sdk/code-mode@1.0.50 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/deepinfra@3.0.44 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 ## @ai-sdk/fireworks@3.0.47 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 ## @ai-sdk/gateway@4.0.75 ### Patch Changes - 3cfc1fc: feat(gateway): add support for gpt-6-astra ## @ai-sdk/gmicloud@3.0.15 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 ## @ai-sdk/google@4.0.64 ### Patch Changes - d4485fe: feat(ai): support minItems and maxItems in array outputs - 63533eb: fix(google): map code execution tool name- #20260 ## @ai-sdk/google-vertex@5.0.76 ### Patch Changes - 2d1f05d: fix(vertex): default Llama 4 output tokens - Updated dependencies [e5a22f0] - Updated dependencies [d4485fe] - Updated dependencies [63533eb] - @ai-sdk/openai-compatible@3.0.44 - @ai-sdk/google@4.0.64 ## @ai-sdk/harness@1.0.102 ### Patch Changes - fe86f8f: feat(harness): support established lifecycle callbacks from `ToolLoopAgent` on `HarnessAgent` too - 255cccf: feat(harness): add `writeInstructions` helper and support filesystem based `instructionsMapping` in ACP backed harness adapters - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/harness-acp@1.0.40 ### Patch Changes - ceb601c: fix(harness-acp): fix stream translator to match most appropriate tool based on input shape when no name is present and multiple candidates would match the required arguments - 255cccf: feat(harness): add `writeInstructions` helper and support filesystem based `instructionsMapping` in ACP backed harness adapters - 668b51d: fix(harness-acp): remove problematic condition that leads to errors when using `stopWhen` - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - 1291df7: feat(harness-acp): support control over how host tools are exposed via `hostToolMcpTransport` config - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/harness-claude-code@1.0.106 ### Patch Changes - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/harness-cline@1.0.29 ### Patch Changes - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/harness-codex@1.0.104 ### Patch Changes - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/harness-cursor@1.0.15 ### Patch Changes - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - Updated dependencies [fe86f8f] - Updated dependencies [ceb601c] - Updated dependencies [255cccf] - Updated dependencies [668b51d] - Updated dependencies [eeed977] - Updated dependencies [1291df7] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 - @ai-sdk/harness-acp@1.0.40 ## @ai-sdk/harness-deepagents@1.0.102 ### Patch Changes - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/harness-fx@1.0.15 ### Patch Changes - 255cccf: feat(harness): add `writeInstructions` helper and support filesystem based `instructionsMapping` in ACP backed harness adapters - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - Updated dependencies [fe86f8f] - Updated dependencies [ceb601c] - Updated dependencies [255cccf] - Updated dependencies [668b51d] - Updated dependencies [eeed977] - Updated dependencies [1291df7] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 - @ai-sdk/harness-acp@1.0.40 ## @ai-sdk/harness-grok-build@1.0.39 ### Patch Changes - 255cccf: feat(harness): add `writeInstructions` helper and support filesystem based `instructionsMapping` in ACP backed harness adapters - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - Updated dependencies [fe86f8f] - Updated dependencies [ceb601c] - Updated dependencies [255cccf] - Updated dependencies [668b51d] - Updated dependencies [eeed977] - Updated dependencies [1291df7] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 - @ai-sdk/harness-acp@1.0.40 ## @ai-sdk/harness-opencode@1.0.104 ### Patch Changes - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/harness-pi@1.0.104 ### Patch Changes - eeed977: feat(harness): allow passing arbitrary headers with inference requests via `headers` property in `HarnessAgentSettings` - a39c8bf: chore(harness): clarify `writeSkills` helper intent to require materializing skills in HOME directory - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/huggingface@2.0.44 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 ## @ai-sdk/langchain@3.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/llamaindex@3.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/mcp@2.0.45 ### Patch Changes - 33ba8fd: feat(mcp): surface server-provided tool annotations in tool metadata - 3da84fd: Accept MCP tool results that return `structuredContent` without `content` by adding the serialized structured result as text. ## @ai-sdk/open-responses@2.0.39 ### Patch Changes - 4210d0b: feat(open-responses): add strict assistant history serialization without synthetic item IDs ## @ai-sdk/openai@4.0.59 ### Patch Changes - 4af00d1: feat(openai): add support for the gpt-6-astra - abb9ebf: feat(openai): support `gpt-4o-transcribe-diarize`, including chunking and diarized speaker metadata ## @ai-sdk/openai-compatible@3.0.44 ### Patch Changes - e5a22f0: fix(openai-compatible): keep reasoning streams contiguous when deltas include empty tool call arrays ## @ai-sdk/otel@1.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/policy-opa@1.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/react@4.0.96 ### Patch Changes - Updated dependencies [33ba8fd] - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [3da84fd] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - @ai-sdk/mcp@2.0.45 - ai@7.0.93 ## @ai-sdk/rsc@3.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/sandbox-just-bash@1.0.102 ### Patch Changes - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/sandbox-vercel@1.0.102 ### Patch Changes - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/svelte@5.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/togetherai@3.0.45 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 ## @ai-sdk/tui@1.0.94 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/vue@4.0.93 ### Patch Changes - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/workflow@2.0.24 ### Patch Changes - 3204ab6: fix(workflow): preserve per-tool types in execution callbacks and export the callback event types - Updated dependencies [df6c009] - Updated dependencies [6ee74a3] - Updated dependencies [f13d371] - Updated dependencies [d4485fe] - Updated dependencies [4f201cc] - Updated dependencies [8cdb2a7] - Updated dependencies [0f2281e] - Updated dependencies [fc8e8ac] - Updated dependencies [ee8391e] - ai@7.0.93 ## @ai-sdk/workflow-harness@1.0.102 ### Patch Changes - Updated dependencies [fe86f8f] - Updated dependencies [255cccf] - Updated dependencies [eeed977] - Updated dependencies [a39c8bf] - @ai-sdk/harness@1.0.102 ## @ai-sdk/zai@3.0.6 ### Patch Changes - Updated dependencies [e5a22f0] - @ai-sdk/openai-compatible@3.0.44 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Contributor
|
🚀 Published in:
|
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.
Background
Vertex code execution uses fixed
code_execution, but users can register it under a custom AI SDK tool key. When the model called the tool, it caused Core to reject the response withAI_NoSuchToolError.Summary
Map Vertex’s native
code_executionresponse name back to the caller-defined tool key. This is the same solution already used by the OpenAI provider forcode_interpreter.End-to-End Verification
Verified with
googleVertex('gemini-2.5-pro'). A customCodeExecutionToolkey now receives valid tool-call and tool-result parts with noAI_NoSuchToolError.Checklist
pnpm changesetin the project root)Related Issues
Fixes #9280