pi qwen provider fix

This commit is contained in:
Jonas H
2026-04-05 09:33:27 +02:00
parent 64cb9999ea
commit 4fe70acffc

View File

@@ -5,11 +5,11 @@
* Based on the upstream custom-provider-qwen-cli example.
*
* Models:
* - qwen3.5-max (frontier, best reasoning)
* - qwen3.5-397b-a17b (large MoE, strong parallel workhorse)
* - qwen3.5-122b-a10b (mid MoE, efficient scout/light coder)
* - qwen3.5-35b-a3b (small MoE, fast throwaway tasks)
* - qwen3.5-27b (dense, sustained reasoning)
* - qwen3.5-plus (Qwen3.5 best — rivals Qwen3-Max, 1M ctx, cheaper)
* - qwen3.5-flash (Qwen3.5 fast & cheap, 1M ctx)
* - qwen3-max (Qwen3 flagship, strongest reasoning, 262K ctx)
* - qwen-plus (Qwen3 balanced, 1M ctx)
* - qwen-flash (Qwen3 fast, 1M ctx)
*
* Usage:
* /login qwen-cli (browser OAuth)
@@ -288,12 +288,12 @@ export default function (pi: ExtensionAPI) {
models: [
{
id: "qwen3.5-max",
name: "Qwen 3.5 Max (Frontier)",
id: "qwen3.5-plus",
name: "Qwen 3.5 Plus (Best — rivals Qwen3-Max)",
reasoning: true,
input: ["text"],
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
contextWindow: 262144,
contextWindow: 1000000,
maxTokens: 65536,
compat: {
supportsDeveloperRole: false,
@@ -303,12 +303,12 @@ export default function (pi: ExtensionAPI) {
},
},
{
id: "qwen3.5-397b-a17b",
name: "Qwen 3.5 397B-A17B (Large MoE)",
id: "qwen3.5-flash",
name: "Qwen 3.5 Flash (Fast & Cheap)",
reasoning: true,
input: ["text"],
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
contextWindow: 262144,
contextWindow: 1000000,
maxTokens: 65536,
compat: {
supportsDeveloperRole: false,
@@ -318,13 +318,13 @@ export default function (pi: ExtensionAPI) {
},
},
{
id: "qwen3.5-122b-a10b",
name: "Qwen 3.5 122B-A10B (Mid MoE)",
id: "qwen3-max",
name: "Qwen 3 Max (Flagship, strongest reasoning)",
reasoning: true,
input: ["text"],
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
contextWindow: 262144,
maxTokens: 65536,
maxTokens: 32768,
compat: {
supportsDeveloperRole: false,
supportsReasoningEffort: false,
@@ -333,13 +333,13 @@ export default function (pi: ExtensionAPI) {
},
},
{
id: "qwen3.5-35b-a3b",
name: "Qwen 3.5 35B-A3B (Small MoE)",
id: "qwen-plus",
name: "Qwen 3 Plus (Balanced)",
reasoning: true,
input: ["text"],
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
contextWindow: 262144,
maxTokens: 65536,
contextWindow: 1000000,
maxTokens: 32768,
compat: {
supportsDeveloperRole: false,
supportsReasoningEffort: false,
@@ -348,13 +348,13 @@ export default function (pi: ExtensionAPI) {
},
},
{
id: "qwen3.5-27b",
name: "Qwen 3.5 27B (Dense)",
id: "qwen-flash",
name: "Qwen 3 Flash (Fast)",
reasoning: true,
input: ["text"],
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
contextWindow: 262144,
maxTokens: 65536,
contextWindow: 1000000,
maxTokens: 32768,
compat: {
supportsDeveloperRole: false,
supportsReasoningEffort: false,