Files
9router/open-sse/providers/registry/cohere.js
T
decoluaandCursor bb9e9aa91f refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup
- 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>
2026-06-14 13:15:48 +07:00

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)"
}
]
};