Files
9router/open-sse/providers/registry/byteplus.js
T
decoluaandCursor 5a042840fd refactor(open-sse): P3 provider registry — split into providers/registry/{id}.js
- 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>
2026-06-13 21:08:37 +07:00

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