- 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>
47 lines
968 B
JavaScript
47 lines
968 B
JavaScript
export default {
|
|
"id": "xiaomi-tokenplan",
|
|
"alias": "xiaomi-tokenplan",
|
|
"transport": {
|
|
"baseUrl": "https://token-plan-sgp.xiaomimimo.com/v1/chat/completions"
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "mimo-v2.5-pro",
|
|
"name": "MiMo V2.5 Pro"
|
|
},
|
|
{
|
|
"id": "mimo-v2.5-pro-claude",
|
|
"name": "MiMo V2.5 Pro (Claude Native)",
|
|
"targetFormat": "claude",
|
|
"upstreamModelId": "mimo-v2.5-pro"
|
|
},
|
|
{
|
|
"id": "mimo-v2.5",
|
|
"name": "MiMo V2.5"
|
|
},
|
|
{
|
|
"id": "mimo-v2-pro",
|
|
"name": "MiMo V2 Pro"
|
|
},
|
|
{
|
|
"id": "mimo-v2-omni",
|
|
"name": "MiMo V2 Omni"
|
|
},
|
|
{
|
|
"id": "mimo-v2-tts",
|
|
"name": "MiMo V2 TTS"
|
|
},
|
|
{
|
|
"id": "mimo-v2.5-tts",
|
|
"name": "MiMo V2.5 TTS"
|
|
},
|
|
{
|
|
"id": "mimo-v2.5-tts-voiceclone",
|
|
"name": "MiMo V2.5 TTS Voice Clone"
|
|
},
|
|
{
|
|
"id": "mimo-v2.5-tts-voicedesign",
|
|
"name": "MiMo V2.5 TTS Voice Design"
|
|
}
|
|
]
|
|
};
|