@ai-sdk/google 3.0.130 → 3.0.131
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 +7 -0
- package/dist/index.d.mts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +18 -2
- package/dist/internal/index.d.ts +18 -2
- package/dist/internal/index.js +9 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +9 -1
- package/dist/internal/index.mjs.map +1 -1
- package/docs/15-google-generative-ai.mdx +6 -1
- package/package.json +1 -1
- package/src/google-generative-ai-image-settings.ts +1 -0
- package/src/google-generative-ai-language-model.ts +12 -0
- package/src/google-generative-ai-options.ts +1 -0
- package/src/interactions/google-interactions-language-model-options.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
} from "@ai-sdk/provider-utils";
|
|
225
225
|
|
|
226
226
|
// src/version.ts
|
|
227
|
-
var VERSION = true ? "3.0.
|
|
227
|
+
var VERSION = true ? "3.0.131" : "0.0.0-test";
|
|
228
228
|
|
|
229
229
|
// src/google-generative-ai-embedding-model.ts
|
|
230
230
|
import {
|
|
@@ -2954,7 +2954,15 @@ var getGroundingMetadataSchema = () => z7.object({
|
|
|
2954
2954
|
uri: z7.string().nullish(),
|
|
2955
2955
|
title: z7.string().nullish(),
|
|
2956
2956
|
text: z7.string().nullish(),
|
|
2957
|
-
fileSearchStore: z7.string().nullish()
|
|
2957
|
+
fileSearchStore: z7.string().nullish(),
|
|
2958
|
+
customMetadata: z7.array(
|
|
2959
|
+
z7.object({
|
|
2960
|
+
key: z7.string(),
|
|
2961
|
+
stringValue: z7.string().nullish(),
|
|
2962
|
+
numericValue: z7.number().nullish(),
|
|
2963
|
+
stringListValue: z7.object({ values: z7.array(z7.string()).nullish() }).nullish()
|
|
2964
|
+
})
|
|
2965
|
+
).nullish()
|
|
2958
2966
|
}).nullish(),
|
|
2959
2967
|
maps: z7.object({
|
|
2960
2968
|
uri: z7.string().nullish(),
|