Skip to content

Commit 61c8b4e

Browse files
Version Packages (beta) (#10545)
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. ⚠️⚠️⚠️⚠️⚠️⚠️ `main` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `main`. ⚠️⚠️⚠️⚠️⚠️⚠️ # Releases ## @ai-sdk/[email protected] ### Patch Changes - e300a3b: 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. ## @ai-sdk/[email protected] ### Patch Changes - Updated dependencies [e300a3b] - @ai-sdk/[email protected] Co-authored-by: vercel-ai-sdk[bot] <225926702+vercel-ai-sdk[bot]@users.noreply.github.com>
1 parent e300a3b commit 61c8b4e

File tree

8 files changed

+22
-8
lines changed

8 files changed

+22
-8
lines changed

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
"fifty-ligers-remember",
133133
"fix-array-output-type",
134134
"fix-async-iterator-cancel-cleanup",
135+
"fix-google-file-search-uri",
135136
"fix-headers-normalization",
136137
"flat-birds-judge",
137138
"flat-geese-hammer",

examples/next-google-vertex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@ai-sdk/google-vertex": "4.0.0-beta.79",
12+
"@ai-sdk/google-vertex": "4.0.0-beta.80",
1313
"ai": "6.0.0-beta.114",
1414
"geist": "^1.3.1",
1515
"next": "^15.5.4",

examples/next-openai/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"@ai-sdk/cohere": "3.0.0-beta.35",
1616
"@ai-sdk/deepseek": "2.0.0-beta.36",
1717
"@ai-sdk/fireworks": "2.0.0-beta.35",
18-
"@ai-sdk/google": "3.0.0-beta.55",
19-
"@ai-sdk/google-vertex": "4.0.0-beta.79",
18+
"@ai-sdk/google": "3.0.0-beta.56",
19+
"@ai-sdk/google-vertex": "4.0.0-beta.80",
2020
"@ai-sdk/groq": "3.0.0-beta.36",
2121
"@ai-sdk/mcp": "1.0.0-beta.16",
2222
"@ai-sdk/mistral": "3.0.0-beta.36",

packages/google-vertex/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @ai-sdk/google-vertex
22

3+
## 4.0.0-beta.80
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e300a3b]
8+
- @ai-sdk/google@3.0.0-beta.56
9+
310
## 4.0.0-beta.79
411

512
### Patch Changes

packages/google-vertex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai-sdk/google-vertex",
3-
"version": "4.0.0-beta.79",
3+
"version": "4.0.0-beta.80",
44
"license": "Apache-2.0",
55
"sideEffects": false,
66
"main": "./dist/index.js",

packages/google/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @ai-sdk/google
22

3+
## 3.0.0-beta.56
4+
5+
### Patch Changes
6+
7+
- e300a3b: 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.
8+
39
## 3.0.0-beta.55
410

511
### Patch Changes

packages/google/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai-sdk/google",
3-
"version": "3.0.0-beta.55",
3+
"version": "3.0.0-beta.56",
44
"license": "Apache-2.0",
55
"sideEffects": false,
66
"main": "./dist/index.js",

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)