Skip to content

Backport: fix: google.interactions agents dropping File Search tools - #17256

Merged
aayush-kapoor merged 1 commit into
release-v6.0from
backport-pr-16593-to-release-v6.0
Jul 14, 2026
Merged

Backport: fix: google.interactions agents dropping File Search tools#17256
aayush-kapoor merged 1 commit into
release-v6.0from
backport-pr-16593-to-release-v6.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This is an automated backport of #16593 to the release-v6.0 branch. FYI @lgrammel

## Background

Deep Research agent calls through google.interactions could not be
grounded with File Search because agent requests dropped all tools and
only returned a warning.

## Summary

Google Interactions now prepares and includes supported tools for agent
requests as well as model-id requests, while keeping generation_config
omitted for agents.

## Testing

Updated the Google Interactions agent regression test to assert that a
file_search tool is serialized on an agent request with background
enabled and no tools warning is emitted.

## Related Issues

Fixes #16368
@github-actions
github-actions Bot enabled auto-merge (squash) July 14, 2026 21:05
auto-merge was automatically disabled July 14, 2026 21:08

Pull request was closed

@aayush-kapoor aayush-kapoor reopened this Jul 14, 2026
@aayush-kapoor
aayush-kapoor enabled auto-merge (squash) July 14, 2026 21:08
@aayush-kapoor
aayush-kapoor merged commit cfba690 into release-v6.0 Jul 14, 2026
51 checks passed
@aayush-kapoor
aayush-kapoor deleted the backport-pr-16593-to-release-v6.0 branch July 14, 2026 21:14
@github-actions

Copy link
Copy Markdown
Contributor Author

🚀 Published in:

Package Version
@ai-sdk/amazon-bedrock 4.0.136 github npm
@ai-sdk/azure 3.0.90 github npm
@ai-sdk/deepseek 2.0.49 github npm
@ai-sdk/google 3.0.93 github npm
@ai-sdk/google-vertex 4.0.161 github npm

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants