mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 03:30:40 +00:00
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:
parent
d9a1275913
commit
1e87388ffd
4 changed files with 29 additions and 4 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue