feat: add qwen3-coder-next to Coding Plan (Global/Intl region)

- Added qwen3-coder-next model to the Global/Intl Coding Plan template
- Removed thinking mode from qwen3-coder-next (both China and Global regions)
- Updated test expectations to reflect the new model count

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
pomelo-nwu 2026-02-23 10:51:00 +08:00
parent 7ebae58a8c
commit 24ea2b6964
2 changed files with 10 additions and 9 deletions

View file

@ -75,15 +75,9 @@ export function generateCodingPlanTemplate(
{
id: 'qwen3-coder-next',
name: 'qwen3-coder-next',
description:
'qwen3-coder-next model with thinking enabled from Bailian Coding Plan',
description: 'qwen3-coder-next model from Bailian Coding Plan',
baseUrl: 'https://coding.dashscope.aliyuncs.com/v1',
envKey: CODING_PLAN_ENV_KEY,
generationConfig: {
extra_body: {
enable_thinking: true,
},
},
},
{
id: 'qwen3-max-2026-01-23',
@ -149,6 +143,13 @@ export function generateCodingPlanTemplate(
description: 'qwen3-coder-plus model from Coding Plan (Global/Intl)',
envKey: CODING_PLAN_ENV_KEY,
},
{
id: 'qwen3-coder-next',
name: 'qwen3-coder-next',
description: 'qwen3-coder-next model from Coding Plan (Global/Intl)',
baseUrl: 'https://coding-intl.dashscope.aliyuncs.com/v1',
envKey: CODING_PLAN_ENV_KEY,
},
{
id: 'qwen3-max-2026-01-23',
name: 'qwen3-max-2026-01-23',

View file

@ -391,8 +391,8 @@ describe('useCodingPlanUpdates', () => {
>;
// Should have new China configs + custom config only (global config removed since regions are mutually exclusive)
// The template has 3 models, so we expect 3 (from template) + 1 (custom) = 4
expect(updatedConfigs.length).toBe(4);
// The China template has 6 models, so we expect 6 (from template) + 1 (custom) = 7
expect(updatedConfigs.length).toBe(7);
// Should NOT contain the Global config (mutually exclusive)
expect(