@ai-sdk/google 4.0.0-canary.63 → 4.0.0-canary.65

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @ai-sdk/google
2
2
 
3
+ ## 4.0.0-canary.65
4
+
5
+ ### Patch Changes
6
+
7
+ - 4e825f3: feat(google): update Interactions API implementation to cater for upstream breaking changes coming May 26
8
+
9
+ ## 4.0.0-canary.64
10
+
11
+ ### Patch Changes
12
+
13
+ - 41da50c: fix(provider/google): support `functionCall.id` when returned by Gemini API and provide matching `functionResponse.id`
14
+
3
15
  ## 4.0.0-canary.63
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -49,6 +49,7 @@ declare const responseSchema: _ai_sdk_provider_utils.LazySchema<{
49
49
  content?: Record<string, never> | {
50
50
  parts?: ({
51
51
  functionCall: {
52
+ id?: string | null | undefined;
52
53
  name?: string | null | undefined;
53
54
  args?: unknown;
54
55
  partialArgs?: {
@@ -290,6 +291,22 @@ declare const googleInteractionsLanguageModelOptions: _ai_sdk_provider_utils.Laz
290
291
  } | null | undefined;
291
292
  thinkingLevel?: "minimal" | "low" | "medium" | "high" | null | undefined;
292
293
  thinkingSummaries?: "auto" | "none" | null | undefined;
294
+ responseFormat?: ({
295
+ [x: string]: unknown;
296
+ type: "text";
297
+ mimeType?: string | null | undefined;
298
+ schema?: unknown;
299
+ } | {
300
+ [x: string]: unknown;
301
+ type: "image";
302
+ mimeType?: string | null | undefined;
303
+ aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | "1:8" | "8:1" | "1:4" | "4:1" | null | undefined;
304
+ imageSize?: "1K" | "2K" | "4K" | "512" | null | undefined;
305
+ } | {
306
+ [x: string]: unknown;
307
+ type: "audio";
308
+ mimeType?: string | null | undefined;
309
+ })[] | null | undefined;
293
310
  imageConfig?: {
294
311
  aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | "1:8" | "8:1" | "1:4" | "4:1" | null | undefined;
295
312
  imageSize?: "1K" | "2K" | "4K" | "512" | null | undefined;