@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 +6 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +3 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +3 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.
|
|
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.
|