feat: add qwen3.6-plus model to ModelStudio Coding Plan (#3015)

- Add qwen3.6-plus to both China and Global/Intl regions as the first
  model in the Coding Plan template (1M context, enable_thinking)
- Set qwen3.6-plus as the new default MAINLINE_CODER_MODEL
- Add image+video input modality support for qwen3.6-plus

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
pomelo 2026-04-08 18:57:07 +08:00 committed by GitHub
parent d9a1275913
commit 1e87388ffd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 4 deletions

View file

@ -52,6 +52,18 @@ export function generateCodingPlanTemplate(
// China region uses legacy fields to maintain backward compatibility
// This ensures existing users don't get prompted for unnecessary updates
return [
{
id: 'qwen3.6-plus',
name: '[ModelStudio Coding Plan] qwen3.6-plus',
baseUrl: 'https://coding.dashscope.aliyuncs.com/v1',
envKey: CODING_PLAN_ENV_KEY,
generationConfig: {
extra_body: {
enable_thinking: true,
},
contextWindowSize: 1000000,
},
},
{
id: 'qwen3.5-plus',
name: '[ModelStudio Coding Plan] qwen3.5-plus',
@ -147,6 +159,18 @@ export function generateCodingPlanTemplate(
// Global region uses ModelStudio Coding Plan branding for Global/Intl
return [
{
id: 'qwen3.6-plus',
name: '[ModelStudio Coding Plan for Global/Intl] qwen3.6-plus',
baseUrl: 'https://coding-intl.dashscope.aliyuncs.com/v1',
envKey: CODING_PLAN_ENV_KEY,
generationConfig: {
extra_body: {
enable_thinking: true,
},
contextWindowSize: 1000000,
},
},
{
id: 'qwen3.5-plus',
name: '[ModelStudio Coding Plan for Global/Intl] qwen3.5-plus',

View file

@ -391,9 +391,9 @@ describe('useCodingPlanUpdates', () => {
>;
// Should have new China configs + custom config only (global config removed since regions are mutually exclusive)
// The China template has 8 models, so we expect 8 (from template) + 1 (custom) = 9
// The China template has 9 models, so we expect 9 (from template) + 1 (custom) = 10
// Note: description field has been removed, only name field contains the branding
expect(updatedConfigs.length).toBe(9);
expect(updatedConfigs.length).toBe(10);
// Should NOT contain the Global config (mutually exclusive)
expect(

View file

@ -7,4 +7,4 @@
export const DEFAULT_QWEN_MODEL = 'coder-model';
export const DEFAULT_QWEN_FLASH_MODEL = 'coder-model';
export const DEFAULT_QWEN_EMBEDDING_MODEL = 'text-embedding-v4';
export const MAINLINE_CODER_MODEL = 'qwen3.5-plus';
export const MAINLINE_CODER_MODEL = 'qwen3.6-plus';

View file

@ -40,8 +40,9 @@ const MODALITY_PATTERNS: Array<[RegExp, InputModalities]> = [
// -------------------
// Alibaba / Qwen
// -------------------
// Qwen3.5-Plus: image support
// Qwen3.5-Plus, Qwen3.6-Plus: image + video support
[/^qwen3\.5-plus/, { image: true, video: true }],
[/^qwen3\.6-plus/, { image: true, video: true }],
[/^coder-model$/, { image: true, video: true }],
// Qwen VL (vision-language) models: image + video