github vercel/ai @ai-sdk/google@2.0.43

latest releases: @ai-sdk/mcp@0.0.10, @ai-sdk/mcp@1.0.0-beta.18, @ai-sdk/amazon-bedrock@3.0.59...
6 hours ago

Patch Changes

  • 7b2c30f: Fixed Zod validation error when using google.tools.fileSearch(). The Google File Search API returns fileSearchStore instead of uri in retrievedContext. Updated extractSources() function to handle both the old format (Google Search with uri) and new format (File Search with fileSearchStore), maintaining backward compatibility while preventing validation errors. Also fixed title handling to use undefined for URL sources and 'Unknown Document' for document sources.

Don't miss a new ai release

NewReleases is sending notifications on new releases.