koishi-plugin-chatluna-google-gemini-adapter 1.3.0-alpha.3 → 1.3.0-alpha.4

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
@@ -316,7 +316,7 @@ function prepareModelConfig(params, pluginConfig) {
316
316
  let enabledThinking = null;
317
317
  if (model.includes("-thinking") && model.includes("gemini-2.5")) {
318
318
  enabledThinking = !model.includes("-non-thinking");
319
- model = model.replace("-nom-thinking", "").replace("-thinking", "");
319
+ model = model.replace("-non-thinking", "").replace("-thinking", "");
320
320
  }
321
321
  let thinkingBudget = pluginConfig.thinkingBudget ?? -1;
322
322
  if (!enabledThinking && !model.includes("2.5-pro")) {
package/lib/index.mjs CHANGED
@@ -316,7 +316,7 @@ function prepareModelConfig(params, pluginConfig) {
316
316
  let enabledThinking = null;
317
317
  if (model.includes("-thinking") && model.includes("gemini-2.5")) {
318
318
  enabledThinking = !model.includes("-non-thinking");
319
- model = model.replace("-nom-thinking", "").replace("-thinking", "");
319
+ model = model.replace("-non-thinking", "").replace("-thinking", "");
320
320
  }
321
321
  let thinkingBudget = pluginConfig.thinkingBudget ?? -1;
322
322
  if (!enabledThinking && !model.includes("2.5-pro")) {
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.0-alpha.3",
4
+ "version": "1.3.0-alpha.4",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",