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>
35 lines
730 B
JavaScript
35 lines
730 B
JavaScript
|
|
export default {
|
|
"id": "cohere",
|
|
"alias": "cohere",
|
|
display: {
|
|
"name": "Cohere",
|
|
"icon": "hub",
|
|
"color": "#39594D",
|
|
"textIcon": "CO",
|
|
"website": "https://cohere.com",
|
|
"notice": {
|
|
"apiKeyUrl": "https://dashboard.cohere.com/api-keys"
|
|
}
|
|
},
|
|
category: "apikey",
|
|
"transport": {
|
|
"baseUrl": "https://api.cohere.ai/v1/chat/completions",
|
|
"validateUrl": "https://api.cohere.ai/v1/models"
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "command-r-plus-08-2024",
|
|
"name": "Command R+ (Aug 2024)"
|
|
},
|
|
{
|
|
"id": "command-r-08-2024",
|
|
"name": "Command R (Aug 2024)"
|
|
},
|
|
{
|
|
"id": "command-a-03-2025",
|
|
"name": "Command A (Mar 2025)"
|
|
}
|
|
]
|
|
};
|