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 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-chatluna-google-gemini-adapter",
3
3
  "description": "google-gemini adapter for chatluna",
4
- "version": "1.3.6",
4
+ "version": "1.3.7",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",