mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- 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>
62 lines
1.4 KiB
JavaScript
62 lines
1.4 KiB
JavaScript
|
|
export default {
|
|
"id": "kilocode",
|
|
"alias": "kc",
|
|
display: {
|
|
"name": "Kilo Code",
|
|
"icon": "code",
|
|
"color": "#FF6B35",
|
|
"textIcon": "KC",
|
|
"website": "https://kilocode.ai",
|
|
"notice": {
|
|
"signupUrl": "https://kilocode.ai"
|
|
}
|
|
},
|
|
category: "oauth",
|
|
uiAlias: "kc",
|
|
"transport": {
|
|
"baseUrl": "https://api.kilo.ai/api/openrouter/chat/completions",
|
|
"headers": {},
|
|
auth: {"combined":true,"header":"Authorization","scheme":"bearer","hooks":["kilocodeOrg"]},
|
|
},
|
|
"oauth": {
|
|
"apiBaseUrl": "https://api.kilo.ai",
|
|
"initiateUrl": "https://api.kilo.ai/api/device-auth/codes",
|
|
"pollUrlBase": "https://api.kilo.ai/api/device-auth/codes"
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "anthropic/claude-sonnet-4-20250514",
|
|
"name": "Claude Sonnet 4"
|
|
},
|
|
{
|
|
"id": "anthropic/claude-opus-4-20250514",
|
|
"name": "Claude Opus 4"
|
|
},
|
|
{
|
|
"id": "google/gemini-2.5-pro",
|
|
"name": "Gemini 2.5 Pro"
|
|
},
|
|
{
|
|
"id": "google/gemini-2.5-flash",
|
|
"name": "Gemini 2.5 Flash"
|
|
},
|
|
{
|
|
"id": "openai/gpt-4.1",
|
|
"name": "GPT-4.1"
|
|
},
|
|
{
|
|
"id": "openai/o3",
|
|
"name": "o3"
|
|
},
|
|
{
|
|
"id": "deepseek/deepseek-chat",
|
|
"name": "DeepSeek Chat"
|
|
},
|
|
{
|
|
"id": "deepseek/deepseek-reasoner",
|
|
"name": "DeepSeek Reasoner"
|
|
}
|
|
],
|
|
};
|