Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/agents/model-catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/commands/onboard-web-auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -285,7 +285,7 @@ export async function runOnboardWebAuth(): Promise<void> {
"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"],
};
Expand Down
10 changes: 5 additions & 5 deletions src/zero-token/bridge/web-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -357,17 +357,17 @@ 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,
contextWindow: QWEN_WEB_DEFAULT_CONTEXT_WINDOW,
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,
Expand Down
6 changes: 3 additions & 3 deletions src/zero-token/providers/qwen-web-client-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class QwenWebClientBrowser {
}): Promise<ReadableStream<Uint8Array>> {
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}`);
Expand Down Expand Up @@ -381,8 +381,8 @@ export class QwenWebClientBrowser {
async discoverModels(): Promise<ModelDefinitionConfig[]> {
return [
{
id: "qwen3.5-plus",
name: "Qwen 3.5 Plus",
id: "qwen3-max",
name: "Qwen3 Max",
api: "qwen-web",
reasoning: false,
input: ["text"],
Expand Down