@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.
@@ -557,7 +557,8 @@ var googleErrorDataSchema = lazySchema(
557
557
  error: z.object({
558
558
  code: z.number().nullable(),
559
559
  message: z.string(),
560
- status: z.string()
560
+ status: z.string(),
561
+ details: z.array(z.unknown()).nullish()
561
562
  })
562
563
  })
563
564
  )
@@ -1002,7 +1003,7 @@ function prepareTools({
1002
1003
  tools: [{ functionDeclarations }],
1003
1004
  toolConfig: {
1004
1005
  functionCallingConfig: {
1005
- mode: hasStrictTools ? "VALIDATED" : "ANY"
1006
+ mode: "ANY"
1006
1007
  }
1007
1008
  },
1008
1009
  toolWarnings
@@ -1012,7 +1013,7 @@ function prepareTools({
1012
1013
  tools: [{ functionDeclarations }],
1013
1014
  toolConfig: {
1014
1015
  functionCallingConfig: {
1015
- mode: hasStrictTools ? "VALIDATED" : "ANY",
1016
+ mode: "ANY",
1016
1017
  allowedFunctionNames: [toolChoice.toolName]
1017
1018
  }
1018
1019
  },