diff --git a/src/agents/model-catalog.ts b/src/agents/model-catalog.ts index 9aa3063f103..aa58e11abff 100644 --- a/src/agents/model-catalog.ts +++ b/src/agents/model-catalog.ts @@ -367,7 +367,7 @@ const KNOWN_WEB_MODEL_ENTRIES: ModelCatalogEntry[] = [ contextWindow: 128000, }, // qwen-web - { id: "qwen-max", name: "Qwen Web", provider: "qwen-web", contextWindow: 32000 }, + { id: "qwen3-max", name: "Qwen Web", provider: "qwen-web", contextWindow: 32000 }, // qwen-cn-web { id: "qwen-turbo", name: "Qwen CN Web", provider: "qwen-cn-web", contextWindow: 128000 }, // xiaomimo-web diff --git a/src/commands/onboard-web-auth.ts b/src/commands/onboard-web-auth.ts index 4be5581c7a5..875fa6b2453 100644 --- a/src/commands/onboard-web-auth.ts +++ b/src/commands/onboard-web-auth.ts @@ -92,7 +92,7 @@ async function addModelToWhitelist(providerId: string, modelIds: string[]): Prom "perplexity-web": "Perplexity Web", }, "qwen-web": { - "qwen3.5-plus": "Qwen Web", + "qwen3-max": "Qwen Web", }, "qwen-cn-web": { "qwen-turbo": "Qwen CN Web", @@ -285,7 +285,7 @@ export async function runOnboardWebAuth(): Promise { "grok-web": ["grok-2"], "kimi-web": ["moonshot-v1-32k"], "perplexity-web": ["perplexity-web"], - "qwen-web": ["qwen3.5-plus"], + "qwen-web": ["qwen3-max"], "qwen-cn-web": ["qwen-turbo"], "xiaomimo-web": ["xiaomimo-chat"], }; diff --git a/src/zero-token/bridge/web-providers.ts b/src/zero-token/bridge/web-providers.ts index 5c51781605e..fbcf628155c 100644 --- a/src/zero-token/bridge/web-providers.ts +++ b/src/zero-token/bridge/web-providers.ts @@ -53,7 +53,7 @@ const CHATGPT_WEB_DEFAULT_COST = { }; export const QWEN_WEB_BASE_URL = "https://chat.qwen.ai"; -export const QWEN_WEB_DEFAULT_MODEL_ID = "qwen-max"; +export const QWEN_WEB_DEFAULT_MODEL_ID = "qwen3-max"; const QWEN_WEB_DEFAULT_CONTEXT_WINDOW = 32000; const QWEN_WEB_DEFAULT_MAX_TOKENS = 8192; const QWEN_WEB_DEFAULT_COST = { @@ -357,8 +357,8 @@ export async function buildQwenWebProvider(_params?: { api: "qwen-web", models: [ { - id: "qwen3.5-plus", - name: "Qwen 3.5 Plus", + id: QWEN_WEB_DEFAULT_MODEL_ID, + name: "Qwen3 Max", reasoning: false, input: ["text"], cost: QWEN_WEB_DEFAULT_COST, @@ -366,8 +366,8 @@ export async function buildQwenWebProvider(_params?: { maxTokens: QWEN_WEB_DEFAULT_MAX_TOKENS, }, { - id: "qwen3.5-turbo", - name: "Qwen 3.5 Turbo", + id: "qwen3-plus", + name: "Qwen3 Plus", reasoning: false, input: ["text"], cost: QWEN_WEB_DEFAULT_COST, diff --git a/src/zero-token/providers/qwen-web-client-browser.ts b/src/zero-token/providers/qwen-web-client-browser.ts index 3241c98c6cc..41a00bf0dff 100644 --- a/src/zero-token/providers/qwen-web-client-browser.ts +++ b/src/zero-token/providers/qwen-web-client-browser.ts @@ -150,7 +150,7 @@ export class QwenWebClientBrowser { }): Promise> { const { page } = await this.ensureBrowser(); - const model = params.model || "qwen3.5-plus"; + const model = params.model || "qwen3-max"; console.log(`[Qwen Web Browser] Sending message`); console.log(`[Qwen Web Browser] Model: ${model}`); @@ -381,8 +381,8 @@ export class QwenWebClientBrowser { async discoverModels(): Promise { return [ { - id: "qwen3.5-plus", - name: "Qwen 3.5 Plus", + id: "qwen3-max", + name: "Qwen3 Max", api: "qwen-web", reasoning: false, input: ["text"],