@ai-sdk/google 3.0.0-beta.49 → 3.0.0-beta.50

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.0-beta.50
4
+
5
+ ### Patch Changes
6
+
7
+ - 9be07c8: feat(google): `thinking_level` option for Gemini 3
8
+
3
9
  ## 3.0.0-beta.49
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -17,6 +17,7 @@ declare const googleGenerativeAIProviderOptions: _ai_sdk_provider_utils.LazySche
17
17
  thinkingConfig?: {
18
18
  thinkingBudget?: number | undefined;
19
19
  includeThoughts?: boolean | undefined;
20
+ thinkingLevel?: "low" | "medium" | "high" | undefined;
20
21
  } | undefined;
21
22
  cachedContent?: string | undefined;
22
23
  structuredOutputs?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ declare const googleGenerativeAIProviderOptions: _ai_sdk_provider_utils.LazySche
17
17
  thinkingConfig?: {
18
18
  thinkingBudget?: number | undefined;
19
19
  includeThoughts?: boolean | undefined;
20
+ thinkingLevel?: "low" | "medium" | "high" | undefined;
20
21
  } | undefined;
21
22
  cachedContent?: string | undefined;
22
23
  structuredOutputs?: boolean | undefined;
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(src_exports);
30
30
  var import_provider_utils13 = require("@ai-sdk/provider-utils");
31
31
 
32
32
  // src/version.ts
33
- var VERSION = true ? "3.0.0-beta.49" : "0.0.0-test";
33
+ var VERSION = true ? "3.0.0-beta.50" : "0.0.0-test";
34
34
 
35
35
  // src/google-generative-ai-embedding-model.ts
36
36
  var import_provider = require("@ai-sdk/provider");
@@ -483,7 +483,9 @@ var googleGenerativeAIProviderOptions = (0, import_provider_utils5.lazySchema)(
483
483
  responseModalities: import_v44.z.array(import_v44.z.enum(["TEXT", "IMAGE"])).optional(),
484
484
  thinkingConfig: import_v44.z.object({
485
485
  thinkingBudget: import_v44.z.number().optional(),
486
- includeThoughts: import_v44.z.boolean().optional()
486
+ includeThoughts: import_v44.z.boolean().optional(),
487
+ // https://ai.google.dev/gemini-api/docs/gemini-3?thinking=high#thinking_level
488
+ thinkingLevel: import_v44.z.enum(["low", "medium", "high"]).optional()
487
489
  }).optional(),
488
490
  /**
489
491
  * Optional.