@ai-sdk/google
4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed
2.0.111 is the newest release of 2.x.
In short
1 fixed
Release note
Patch Changes
Fixed Zod validation error when using
google.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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.