koishi-plugin-chatluna-google-gemini-adapter 1.3.6 → 1.3.7
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/lib/index.cjs +2 -0
- package/lib/index.mjs +2 -0
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -345,6 +345,8 @@ function prepareModelConfig(params, pluginConfig) {
|
|
|
345
345
|
model = model.replace("-thinking", "");
|
|
346
346
|
}
|
|
347
347
|
thinkingBudget = void 0;
|
|
348
|
+
} else {
|
|
349
|
+
thinkingLevel = void 0;
|
|
348
350
|
}
|
|
349
351
|
let imageGeneration = pluginConfig.imageGeneration ?? false;
|
|
350
352
|
if (imageGeneration) {
|
package/lib/index.mjs
CHANGED
|
@@ -342,6 +342,8 @@ function prepareModelConfig(params, pluginConfig) {
|
|
|
342
342
|
model = model.replace("-thinking", "");
|
|
343
343
|
}
|
|
344
344
|
thinkingBudget = void 0;
|
|
345
|
+
} else {
|
|
346
|
+
thinkingLevel = void 0;
|
|
345
347
|
}
|
|
346
348
|
let imageGeneration = pluginConfig.imageGeneration ?? false;
|
|
347
349
|
if (imageGeneration) {
|
package/package.json
CHANGED