@ai-sdk/google 3.0.27 → 3.0.28
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.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 +1 -1
- package/src/google-generative-ai-image-model.ts +13 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
30
30
|
var import_provider_utils16 = require("@ai-sdk/provider-utils");
|
|
31
31
|
|
|
32
32
|
// src/version.ts
|
|
33
|
-
var VERSION = true ? "3.0.
|
|
33
|
+
var VERSION = true ? "3.0.28" : "0.0.0-test";
|
|
34
34
|
|
|
35
35
|
// src/google-generative-ai-embedding-model.ts
|
|
36
36
|
var import_provider = require("@ai-sdk/provider");
|
|
@@ -1960,7 +1960,9 @@ var GoogleGenerativeAIImageModel = class {
|
|
|
1960
1960
|
providerOptions: {
|
|
1961
1961
|
google: {
|
|
1962
1962
|
responseModalities: ["IMAGE"],
|
|
1963
|
-
imageConfig: aspectRatio ? {
|
|
1963
|
+
imageConfig: aspectRatio ? {
|
|
1964
|
+
aspectRatio
|
|
1965
|
+
} : void 0,
|
|
1964
1966
|
...(_c = providerOptions == null ? void 0 : providerOptions.google) != null ? _c : {}
|
|
1965
1967
|
}
|
|
1966
1968
|
},
|