@ai-sdk/google 4.0.59 → 4.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/google
2
2
 
3
+ ## 4.0.60
4
+
5
+ ### Patch Changes
6
+
7
+ - e07b577: feat: add tool calling support to batch
8
+
3
9
  ## 4.0.59
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "@ai-sdk/provider-utils";
8
8
 
9
9
  // src/version.ts
10
- var VERSION = true ? "4.0.59" : "0.0.0-test";
10
+ var VERSION = true ? "4.0.60" : "0.0.0-test";
11
11
 
12
12
  // src/google-embedding-model.ts
13
13
  import {
@@ -3024,7 +3024,7 @@ var chunkSchema = lazySchema5(
3024
3024
  // src/google-batch.ts
3025
3025
  var googleBatchInputFileMaxBytes = 2 * 1024 * 1024 * 1024;
3026
3026
  var googleBatchInlineCreationMaxBytes = 2e7;
3027
- var supportedGoogleBatchContentTypes = /* @__PURE__ */ new Set(["text", "reasoning", "source"]);
3027
+ var supportedGoogleBatchContentTypes = /* @__PURE__ */ new Set(["text", "reasoning", "source", "tool-call", "tool-result"]);
3028
3028
  var googleRpcStatusSchema = z6.object({
3029
3029
  code: z6.union([z6.number(), z6.string()]).nullish(),
3030
3030
  message: z6.string().nullish(),