@ai-sdk/google 3.0.27 → 3.0.29
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 +13 -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/package.json +2 -2
- package/src/google-generative-ai-image-model.ts +13 -3
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "@ai-sdk/provider-utils";
|
|
8
8
|
|
|
9
9
|
// src/version.ts
|
|
10
|
-
var VERSION = true ? "3.0.
|
|
10
|
+
var VERSION = true ? "3.0.29" : "0.0.0-test";
|
|
11
11
|
|
|
12
12
|
// src/google-generative-ai-embedding-model.ts
|
|
13
13
|
import {
|
|
@@ -1998,7 +1998,9 @@ var GoogleGenerativeAIImageModel = class {
|
|
|
1998
1998
|
providerOptions: {
|
|
1999
1999
|
google: {
|
|
2000
2000
|
responseModalities: ["IMAGE"],
|
|
2001
|
-
imageConfig: aspectRatio ? {
|
|
2001
|
+
imageConfig: aspectRatio ? {
|
|
2002
|
+
aspectRatio
|
|
2003
|
+
} : void 0,
|
|
2002
2004
|
...(_c = providerOptions == null ? void 0 : providerOptions.google) != null ? _c : {}
|
|
2003
2005
|
}
|
|
2004
2006
|
},
|