- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed configs, search defaultModel, codex fixedPort, google token url derive. - Remove 29 unused OmniRoute providers (registry 100→71); media intact. - De-adhoc: codex literals → registry format/oauth flags; reasoningInject, image/embed openrouter headers + xai bodyFields config-driven. - Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc. - Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots. Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
952 B
JavaScript
35 lines
952 B
JavaScript
|
|
export default {
|
|
"id": "qwen", alias: "qw", display: { name: "Qwen Code", icon: "psychology", color: "#10B981", website: "https://chat.qwen.ai", notice: { signupUrl: "https://chat.qwen.ai" } },
|
|
category: "oauth",
|
|
"transport": {
|
|
"baseUrl": "https://portal.qwen.ai/v1/chat/completions"
|
|
},
|
|
"oauth": {
|
|
"clientId": "f0304373b74a44d2b584a3fb70ca9e56",
|
|
"deviceCodeUrl": "https://chat.qwen.ai/api/v1/oauth2/device/code",
|
|
"tokenUrl": "https://chat.qwen.ai/api/v1/oauth2/token",
|
|
"scope": "openid profile email model.completion",
|
|
"codeChallengeMethod": "S256"
|
|
,
|
|
refreshLeadMs: 1200000
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "qwen3-coder-plus",
|
|
"name": "Qwen3 Coder Plus"
|
|
},
|
|
{
|
|
"id": "qwen3-coder-flash",
|
|
"name": "Qwen3 Coder Flash"
|
|
},
|
|
{
|
|
"id": "vision-model",
|
|
"name": "Qwen3 Vision Model"
|
|
},
|
|
{
|
|
"id": "coder-model",
|
|
"name": "Qwen3.6 Coder Model"
|
|
}
|
|
]
|
|
};
|