From 4322fd34571f953d713110a2e6ec2dd6e1e4860a Mon Sep 17 00:00:00 2001 From: wenmengzhou Date: Tue, 22 Jul 2025 21:02:19 +0800 Subject: [PATCH 1/2] bump version to 0.1.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 710f3d4..6994340 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.4", + "version": "0.1.6", "description": "Default configuration for claude-code-router with DashScope support", "main": "index.js", "bin": { From 94aae30e38958d4415d616bc818e4899b2fb4007 Mon Sep 17 00:00:00 2001 From: wenmengzhou Date: Wed, 23 Jul 2025 02:05:47 +0800 Subject: [PATCH 2/2] set model to qwen3-coder-plus and bump version to 0.1.7 --- __tests__/claude-code-router-config.test.js | 4 ++-- bin/claude-code-router-config.js | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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": {