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