feat: add qwen3.6-plus to modelstudio catalog

This commit is contained in:
Peter Steinberger
2026-04-03 18:28:30 +09:00
parent ddb7e4cc34
commit 7bf0496dd8
5 changed files with 56 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ export default defineSingleProviderPluginEntry({
noteMessage: [
"Get your API key at: https://bailian.console.aliyun.com/",
"Endpoint: dashscope.aliyuncs.com/compatible-mode/v1",
"Models: qwen3.5-plus, qwen3-coder-plus, qwen3-coder-next, etc.",
"Models: qwen3.6-plus, qwen3.5-plus, qwen3-coder-plus, etc.",
].join("\n"),
noteTitle: "Alibaba Cloud Model Studio Standard (China)",
wizard: {
@@ -54,7 +54,7 @@ export default defineSingleProviderPluginEntry({
noteMessage: [
"Get your API key at: https://modelstudio.console.alibabacloud.com/",
"Endpoint: dashscope-intl.aliyuncs.com/compatible-mode/v1",
"Models: qwen3.5-plus, qwen3-coder-plus, qwen3-coder-next, etc.",
"Models: qwen3.6-plus, qwen3.5-plus, qwen3-coder-plus, etc.",
].join("\n"),
noteTitle: "Alibaba Cloud Model Studio Standard (Global/Intl)",
wizard: {
@@ -76,7 +76,7 @@ export default defineSingleProviderPluginEntry({
noteMessage: [
"Get your API key at: https://bailian.console.aliyun.com/",
"Endpoint: coding.dashscope.aliyuncs.com",
"Models: qwen3.5-plus, glm-5, kimi-k2.5, MiniMax-M2.5, etc.",
"Models: qwen3.6-plus, glm-5, kimi-k2.5, MiniMax-M2.5, etc.",
].join("\n"),
noteTitle: "Alibaba Cloud Model Studio Coding Plan (China)",
wizard: {
@@ -98,7 +98,7 @@ export default defineSingleProviderPluginEntry({
noteMessage: [
"Get your API key at: https://bailian.console.aliyun.com/",
"Endpoint: coding-intl.dashscope.aliyuncs.com",
"Models: qwen3.5-plus, glm-5, kimi-k2.5, MiniMax-M2.5, etc.",
"Models: qwen3.6-plus, glm-5, kimi-k2.5, MiniMax-M2.5, etc.",
].join("\n"),
noteTitle: "Alibaba Cloud Model Studio Coding Plan (Global/Intl)",
wizard: {

View File

@@ -30,6 +30,15 @@ export const MODELSTUDIO_MODEL_CATALOG: ReadonlyArray<ModelDefinitionConfig> = [
contextWindow: 1_000_000,
maxTokens: 65_536,
},
{
id: "qwen3.6-plus",
name: "qwen3.6-plus",
reasoning: false,
input: ["text", "image"],
cost: MODELSTUDIO_DEFAULT_COST,
contextWindow: 1_000_000,
maxTokens: 65_536,
},
{
id: "qwen3-max-2026-01-23",
name: "qwen3-max-2026-01-23",

View File

@@ -3,6 +3,7 @@ import {
applyModelStudioNativeStreamingUsageCompat,
buildModelStudioProvider,
MODELSTUDIO_BASE_URL,
MODELSTUDIO_DEFAULT_MODEL_ID,
} from "./api.js";
describe("modelstudio provider catalog", () => {
@@ -12,6 +13,10 @@ describe("modelstudio provider catalog", () => {
expect(provider.baseUrl).toBe(MODELSTUDIO_BASE_URL);
expect(provider.api).toBe("openai-completions");
expect(provider.models?.length).toBeGreaterThan(0);
expect(
provider.models?.find((model) => model.id === MODELSTUDIO_DEFAULT_MODEL_ID),
).toBeTruthy();
expect(provider.models?.find((model) => model.id === "qwen3.6-plus")).toBeTruthy();
});
it("opts native Model Studio baseUrls into streaming usage only inside the extension", () => {