mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- 100 registry files: transport + models co-located per provider (Mongoose-style) - providers/shared.js: shared Claude headers + OS/arch helpers (deduped) - providers/models/helpers.js: withCodexReviewModels (kept dynamic) - providers/index.js builds PROVIDERS + PROVIDER_MODELS = old API (content byte-for-byte) - config/providers.js + providerModels.js → barrel re-export, keep accessors + runtime helpers - Verified: PROVIDERS/MODELS/OAuth/alias byte-for-byte, golden translator tests pass, 0 new regression Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
768 B
JavaScript
39 lines
768 B
JavaScript
export default {
|
|
"id": "byteplus",
|
|
"alias": "byteplus",
|
|
"transport": {
|
|
"baseUrl": "https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",
|
|
"headers": {}
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "seed-2-0-pro-260328",
|
|
"name": "Seed 2.0 Pro"
|
|
},
|
|
{
|
|
"id": "seed-2-0-code-preview-260328",
|
|
"name": "Seed 2.0 Code Preview"
|
|
},
|
|
{
|
|
"id": "seed-2-0-mini-260215",
|
|
"name": "Seed 2.0 Mini"
|
|
},
|
|
{
|
|
"id": "seed-2-0-lite-260228",
|
|
"name": "Seed 2.0 Lite"
|
|
},
|
|
{
|
|
"id": "kimi-k2-thinking-251104",
|
|
"name": "Kimi K2 Thinking"
|
|
},
|
|
{
|
|
"id": "glm-4-7-251222",
|
|
"name": "GLM 4.7"
|
|
},
|
|
{
|
|
"id": "gpt-oss-120b-250805",
|
|
"name": "GPT-OSS-120B"
|
|
}
|
|
]
|
|
};
|