@ai-sdk/google 4.0.42 → 4.0.43

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.
@@ -1149,7 +1149,7 @@ function prepareTools({
1149
1149
  tools: [{ functionDeclarations }],
1150
1150
  toolConfig: {
1151
1151
  functionCallingConfig: {
1152
- mode: hasStrictTools ? "VALIDATED" : "ANY"
1152
+ mode: "ANY"
1153
1153
  }
1154
1154
  },
1155
1155
  toolWarnings
@@ -1159,7 +1159,7 @@ function prepareTools({
1159
1159
  tools: [{ functionDeclarations }],
1160
1160
  toolConfig: {
1161
1161
  functionCallingConfig: {
1162
- mode: hasStrictTools ? "VALIDATED" : "ANY",
1162
+ mode: "ANY",
1163
1163
  allowedFunctionNames: [toolChoice.toolName]
1164
1164
  }
1165
1165
  },