@ai-sdk/google 3.0.107 → 3.0.109

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.
@@ -1003,7 +1003,7 @@ function prepareTools({
1003
1003
  tools: [{ functionDeclarations }],
1004
1004
  toolConfig: {
1005
1005
  functionCallingConfig: {
1006
- mode: hasStrictTools ? "VALIDATED" : "ANY"
1006
+ mode: "ANY"
1007
1007
  }
1008
1008
  },
1009
1009
  toolWarnings
@@ -1013,7 +1013,7 @@ function prepareTools({
1013
1013
  tools: [{ functionDeclarations }],
1014
1014
  toolConfig: {
1015
1015
  functionCallingConfig: {
1016
- mode: hasStrictTools ? "VALIDATED" : "ANY",
1016
+ mode: "ANY",
1017
1017
  allowedFunctionNames: [toolChoice.toolName]
1018
1018
  }
1019
1019
  },