- 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>
25 lines
450 B
JavaScript
25 lines
450 B
JavaScript
export default {
|
|
"id": "xiaomi-mimo",
|
|
"alias": "xiaomi-mimo",
|
|
"transport": {
|
|
"baseUrl": "https://api.xiaomimimo.com/v1/chat/completions"
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "mimo-v2.5-pro",
|
|
"name": "MiMo V2.5 Pro"
|
|
},
|
|
{
|
|
"id": "mimo-v2.5",
|
|
"name": "MiMo V2.5"
|
|
},
|
|
{
|
|
"id": "mimo-v2-omni",
|
|
"name": "MiMo V2 Omni"
|
|
},
|
|
{
|
|
"id": "mimo-v2-flash",
|
|
"name": "MiMo V2 Flash"
|
|
}
|
|
]
|
|
};
|