@ai-sdk/google 3.0.106 → 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.
@@ -571,7 +571,8 @@ var googleErrorDataSchema = (0, import_provider_utils2.lazySchema)(
571
571
  error: import_v4.z.object({
572
572
  code: import_v4.z.number().nullable(),
573
573
  message: import_v4.z.string(),
574
- status: import_v4.z.string()
574
+ status: import_v4.z.string(),
575
+ details: import_v4.z.array(import_v4.z.unknown()).nullish()
575
576
  })
576
577
  })
577
578
  )
@@ -1011,7 +1012,7 @@ function prepareTools({
1011
1012
  tools: [{ functionDeclarations }],
1012
1013
  toolConfig: {
1013
1014
  functionCallingConfig: {
1014
- mode: hasStrictTools ? "VALIDATED" : "ANY"
1015
+ mode: "ANY"
1015
1016
  }
1016
1017
  },
1017
1018
  toolWarnings
@@ -1021,7 +1022,7 @@ function prepareTools({
1021
1022
  tools: [{ functionDeclarations }],
1022
1023
  toolConfig: {
1023
1024
  functionCallingConfig: {
1024
- mode: hasStrictTools ? "VALIDATED" : "ANY",
1025
+ mode: "ANY",
1025
1026
  allowedFunctionNames: [toolChoice.toolName]
1026
1027
  }
1027
1028
  },