mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- Bug B1-B7: media UI m.kind||m.type, serviceKinds, gemini mediaPriority, schema kind, models/info lookup by kind - Dead code D1-D6: safeParseJSON, drop PROVIDER_ENDPOINTS, orphan fetcher, GITHUB_CONFIG derive, getProviderConfig internal, legacy kiro file - Translator concerns: toOpenAIUsage, toOpenAIFinish (gemini/kiro/ollama + fix kiro tool finish), thinking effort maps - Reorg helpers/ → concerns/ (logic) + formats/ (per-format) + schema/ (pure enums: roles/blocks/finishReasons/defaults) - Wire ~280 hardcoded role/block/finish/default literals to schema enums across 20+ files - collapseTextParts + extractTextContent dedup - Normalize translator fn names to openaiToXRequest / xToOpenAIResponse - Golden tests lock behavior; 0 regression (byte-for-byte providers/alias, 26=26 known fails) Co-authored-by: Cursor <cursoragent@cursor.com>
55 lines
1.7 KiB
JavaScript
55 lines
1.7 KiB
JavaScript
export default {
|
|
id: "qoder",
|
|
priority: 230,
|
|
alias: "qd",
|
|
uiAlias: "qd",
|
|
display: {
|
|
name: "Qoder",
|
|
icon: "water_drop",
|
|
color: "#EC4899",
|
|
website: "https://qoder.com",
|
|
notice: {
|
|
signupUrl: "https://qoder.com",
|
|
},
|
|
deprecated: true,
|
|
deprecationNotice: "RISK_NOTICE",
|
|
},
|
|
category: "free",
|
|
transport: {
|
|
baseUrl: "https://api3.qoder.sh/algo/api/v2/service/pro/sse/agent_chat_generation",
|
|
headers: {},
|
|
timeoutMs: 120000,
|
|
stallTimeoutMs: 120000,
|
|
usage: {
|
|
url: "https://openapi.qoder.sh/api/v2/quota/usage",
|
|
},
|
|
},
|
|
models: [
|
|
{ id: "auto", name: "Qoder Auto" },
|
|
{ id: "ultimate", name: "Qoder Ultimate" },
|
|
{ id: "performance", name: "Qoder Performance" },
|
|
{ id: "efficient", name: "Qoder Efficient" },
|
|
{ id: "lite", name: "Qoder Lite" },
|
|
{ id: "qmodel", name: "Qwen 3.6 Plus (Qoder)" },
|
|
{ id: "qmodel_latest", name: "Qoder Qwen 3.7 Max" },
|
|
{ id: "dmodel", name: "DeepSeek V4 Pro (Qoder)" },
|
|
{ id: "dfmodel", name: "DeepSeek V4 Flash (Qoder)" },
|
|
{ id: "gm51model", name: "GLM 5.1 (Qoder)" },
|
|
{ id: "kmodel", name: "Kimi K2.6 (Qoder)" },
|
|
{ id: "mmodel", name: "MiniMax M2.7 (Qoder)" },
|
|
],
|
|
oauth: {
|
|
openApiBaseUrl: "https://openapi.qoder.sh",
|
|
centerBaseUrl: "https://center.qoder.sh",
|
|
chatBaseUrl: "https://api3.qoder.sh",
|
|
deviceTokenUrl: "https://openapi.qoder.sh/api/v1/deviceToken/poll",
|
|
refreshUrl: "https://center.qoder.sh/algo/api/v3/user/refresh_token",
|
|
userInfoUrl: "https://openapi.qoder.sh/api/v1/userinfo",
|
|
quotaUsageUrl: "https://openapi.qoder.sh/api/v2/quota/usage",
|
|
loginUrl: "https://qoder.com/device/selectAccounts",
|
|
},
|
|
features: {
|
|
usage: true,
|
|
},
|
|
};
|