koishi-plugin-chatluna-google-gemini-adapter 1.3.13 → 1.3.14

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
@@ -372,6 +372,8 @@ function prepareModelConfig(params, pluginConfig) {
372
372
  let imageGeneration = pluginConfig.imageGeneration ?? false;
373
373
  if (imageGeneration) {
374
374
  imageGeneration = params.model.includes("gemini-2.0-flash-exp") || params.model.includes("image");
375
+ thinkingBudget = void 0;
376
+ thinkingLevel = void 0;
375
377
  }
376
378
  return {
377
379
  model,
package/lib/index.mjs CHANGED
@@ -369,6 +369,8 @@ function prepareModelConfig(params, pluginConfig) {
369
369
  let imageGeneration = pluginConfig.imageGeneration ?? false;
370
370
  if (imageGeneration) {
371
371
  imageGeneration = params.model.includes("gemini-2.0-flash-exp") || params.model.includes("image");
372
+ thinkingBudget = void 0;
373
+ thinkingLevel = void 0;
372
374
  }
373
375
  return {
374
376
  model,
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.13",
4
+ "version": "1.3.14",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",