utilitas 1999.1.10 → 1999.1.11
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/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +1 -1
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -1070,7 +1070,7 @@ const promptGemini = async (aiId, content, options = {}) => {
|
|
|
1070
1070
|
options.model = options.model || model.name;
|
|
1071
1071
|
model?.image === true && (options.imageMode = true);
|
|
1072
1072
|
assert(!(options.imageMode && !model.image), 'Image mode is not supported.');
|
|
1073
|
-
if (String.isString(model.image)) {
|
|
1073
|
+
if (options.imageMode && String.isString(model.image)) {
|
|
1074
1074
|
options.model = model.image;
|
|
1075
1075
|
options.imageMode = true;
|
|
1076
1076
|
model = MODELS[options.model];
|
package/lib/manifest.mjs
CHANGED