diff --git a/packages/cli/src/constants/codingPlan.ts b/packages/cli/src/constants/codingPlan.ts index 7b01f3ba4..2f8a10a6a 100644 --- a/packages/cli/src/constants/codingPlan.ts +++ b/packages/cli/src/constants/codingPlan.ts @@ -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', diff --git a/packages/cli/src/ui/hooks/useCodingPlanUpdates.test.ts b/packages/cli/src/ui/hooks/useCodingPlanUpdates.test.ts index d84e31540..1707b17e8 100644 --- a/packages/cli/src/ui/hooks/useCodingPlanUpdates.test.ts +++ b/packages/cli/src/ui/hooks/useCodingPlanUpdates.test.ts @@ -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(