utilitas 1999.1.78 → 1999.1.79
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 +4 -2
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -1197,8 +1197,10 @@ const promptGemini = async (aiId, content, options = {}) => {
|
|
|
1197
1197
|
const chat = client.chats.create({
|
|
1198
1198
|
model: options.model, history, config: {
|
|
1199
1199
|
responseMimeType: options.jsonMode ? MIME_JSON : MIME_TEXT,
|
|
1200
|
-
|
|
1201
|
-
|
|
1200
|
+
...model.reasoning ? {
|
|
1201
|
+
thinkingConfig: { includeThoughts: true },
|
|
1202
|
+
} : {}, systemInstruction,
|
|
1203
|
+
responseModalities: options.modalities || (
|
|
1202
1204
|
options.imageMode ? [TEXT, IMAGE] : undefined
|
|
1203
1205
|
), ...options?.config || {}, ...model?.tools && !options.jsonMode
|
|
1204
1206
|
&& ![GEMINI_20_FLASH].includes(options.model)
|
package/lib/manifest.mjs
CHANGED