diff --git a/__tests__/claude-code-router-config.test.js b/__tests__/claude-code-router-config.test.js index 8be78b4..7d8eb3c 100644 --- a/__tests__/claude-code-router-config.test.js +++ b/__tests__/claude-code-router-config.test.js @@ -221,12 +221,12 @@ describe("ClaudeCodeRouterConfig", () => { expect(configContent.Providers).toHaveLength(1); // Check models configuration - expect(configContent.Providers[0].models).toEqual(["qwen3-coder-plus", "qwen3-coder-flash"]); + expect(configContent.Providers[0].models).toEqual(["qwen3-coder-plus"]); // Check router configuration expect(configContent.Router.default).toBe("dashscope,qwen3-coder-plus"); expect(configContent.Router.think).toBe("dashscope,qwen3-coder-plus"); - expect(configContent.Router.background).toBe("dashscope,qwen3-coder-flash"); + expect(configContent.Router.background).toBe("dashscope,qwen3-coder-plus"); expect(configContent.Router.longContext).toBe("dashscope,qwen3-coder-plus"); }); }); diff --git a/bin/claude-code-router-config.js b/bin/claude-code-router-config.js index e7efd43..644217c 100755 --- a/bin/claude-code-router-config.js +++ b/bin/claude-code-router-config.js @@ -239,7 +239,7 @@ class ClaudeCodeRouterConfig { name: "dashscope", api_base_url: apiBaseUrl, api_key: dashscopeApiKey, - models: ["qwen3-coder-plus", "qwen3-coder-flash"], + models: ["qwen3-coder-plus"], transformer: { use: ["dashscope"], }, @@ -248,7 +248,7 @@ class ClaudeCodeRouterConfig { Router: { default: "dashscope,qwen3-coder-plus", think: "dashscope,qwen3-coder-plus", - background: "dashscope,qwen3-coder-flash", + background: "dashscope,qwen3-coder-plus", longContext: "dashscope,qwen3-coder-plus", }, }; diff --git a/package.json b/package.json index 6994340..66fdc5d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "git+https://github.com/dashscope/claude-code-config.git" }, "name": "@dashscope-js/claude-code-config", - "version": "0.1.6", + "version": "0.1.7", "description": "Default configuration for claude-code-router with DashScope support", "main": "index.js", "bin": {