9router/open-sse/providers/registry/together.js
decolua 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

52 lines
1.2 KiB
JavaScript

export default {
"id": "together",
"alias": "together",
display: {
"name": "Together AI",
"icon": "group_work",
"color": "#0F6FFF",
"textIcon": "TG",
"website": "https://www.together.ai",
"notice": {
"apiKeyUrl": "https://api.together.xyz/settings/api-keys"
}
},
category: "apikey",
authType: "apikey",
"transport": {
"baseUrl": "https://api.together.xyz/v1/chat/completions",
"validateUrl": "https://api.together.xyz/v1/models"
},
media: {
embeddingConfig: { baseUrl: "https://api.together.xyz/v1/embeddings" }
},
"models": [
{
"id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
"name": "Llama 3.3 70B Turbo"
},
{
"id": "deepseek-ai/DeepSeek-R1",
"name": "DeepSeek R1"
},
{
"id": "Qwen/Qwen3-235B-A22B",
"name": "Qwen3 235B"
},
{
"id": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
"name": "Llama 4 Maverick"
},
{
"id": "BAAI/bge-large-en-v1.5",
"name": "BGE Large EN v1.5",
"type": "embedding"
},
{
"id": "togethercomputer/m2-bert-80M-8k-retrieval",
"name": "M2 BERT 80M 8K",
"type": "embedding"
}
]
};