@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/google",
3
- "version": "3.0.107",
3
+ "version": "3.0.108",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -290,7 +290,7 @@ export function prepareTools({
290
290
  tools: [{ functionDeclarations }],
291
291
  toolConfig: {
292
292
  functionCallingConfig: {
293
- mode: hasStrictTools ? 'VALIDATED' : 'ANY',
293
+ mode: 'ANY',
294
294
  },
295
295
  },
296
296
  toolWarnings,
@@ -300,7 +300,7 @@ export function prepareTools({
300
300
  tools: [{ functionDeclarations }],
301
301
  toolConfig: {
302
302
  functionCallingConfig: {
303
- mode: hasStrictTools ? 'VALIDATED' : 'ANY',
303
+ mode: 'ANY',
304
304
  allowedFunctionNames: [toolChoice.toolName],
305
305
  },
306
306
  },