@ai-sdk/google 3.0.74 → 3.0.75

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,11 @@
1
1
  # @ai-sdk/google
2
2
 
3
+ ## 3.0.75
4
+
5
+ ### Patch Changes
6
+
7
+ - ab15576: feat(google): update Interactions API implementation to cater for upstream breaking changes coming May 26
8
+
3
9
  ## 3.0.74
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -292,6 +292,22 @@ declare const googleInteractionsLanguageModelOptions: _ai_sdk_provider_utils.Laz
292
292
  } | null | undefined;
293
293
  thinkingLevel?: "minimal" | "low" | "medium" | "high" | null | undefined;
294
294
  thinkingSummaries?: "auto" | "none" | null | undefined;
295
+ responseFormat?: ({
296
+ [x: string]: unknown;
297
+ type: "text";
298
+ mimeType?: string | null | undefined;
299
+ schema?: unknown;
300
+ } | {
301
+ [x: string]: unknown;
302
+ type: "image";
303
+ mimeType?: string | null | undefined;
304
+ 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;
305
+ imageSize?: "1K" | "2K" | "4K" | "512" | null | undefined;
306
+ } | {
307
+ [x: string]: unknown;
308
+ type: "audio";
309
+ mimeType?: string | null | undefined;
310
+ })[] | null | undefined;
295
311
  imageConfig?: {
296
312
  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;
297
313
  imageSize?: "1K" | "2K" | "4K" | "512" | null | undefined;
package/dist/index.d.ts CHANGED
@@ -292,6 +292,22 @@ declare const googleInteractionsLanguageModelOptions: _ai_sdk_provider_utils.Laz
292
292
  } | null | undefined;
293
293
  thinkingLevel?: "minimal" | "low" | "medium" | "high" | null | undefined;
294
294
  thinkingSummaries?: "auto" | "none" | null | undefined;
295
+ responseFormat?: ({
296
+ [x: string]: unknown;
297
+ type: "text";
298
+ mimeType?: string | null | undefined;
299
+ schema?: unknown;
300
+ } | {
301
+ [x: string]: unknown;
302
+ type: "image";
303
+ mimeType?: string | null | undefined;
304
+ 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;
305
+ imageSize?: "1K" | "2K" | "4K" | "512" | null | undefined;
306
+ } | {
307
+ [x: string]: unknown;
308
+ type: "audio";
309
+ mimeType?: string | null | undefined;
310
+ })[] | null | undefined;
295
311
  imageConfig?: {
296
312
  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;
297
313
  imageSize?: "1K" | "2K" | "4K" | "512" | null | undefined;