@ai-sdk/google 3.0.107 → 3.0.108

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/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "@ai-sdk/provider-utils";
8
8
 
9
9
  // src/version.ts
10
- var VERSION = true ? "3.0.107" : "0.0.0-test";
10
+ var VERSION = true ? "3.0.108" : "0.0.0-test";
11
11
 
12
12
  // src/google-generative-ai-embedding-model.ts
13
13
  import {
@@ -1220,7 +1220,7 @@ function prepareTools({
1220
1220
  tools: [{ functionDeclarations }],
1221
1221
  toolConfig: {
1222
1222
  functionCallingConfig: {
1223
- mode: hasStrictTools ? "VALIDATED" : "ANY"
1223
+ mode: "ANY"
1224
1224
  }
1225
1225
  },
1226
1226
  toolWarnings
@@ -1230,7 +1230,7 @@ function prepareTools({
1230
1230
  tools: [{ functionDeclarations }],
1231
1231
  toolConfig: {
1232
1232
  functionCallingConfig: {
1233
- mode: hasStrictTools ? "VALIDATED" : "ANY",
1233
+ mode: "ANY",
1234
1234
  allowedFunctionNames: [toolChoice.toolName]
1235
1235
  }
1236
1236
  },