- 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>
64 lines
1.1 KiB
JavaScript
64 lines
1.1 KiB
JavaScript
export default {
|
|
"id": "black-forest-labs",
|
|
"alias": "black-forest-labs",
|
|
"transport": null,
|
|
"models": [
|
|
{
|
|
"id": "flux-pro-1.1",
|
|
"name": "FLUX Pro 1.1",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "flux-pro-1.1-ultra",
|
|
"name": "FLUX Pro 1.1 Ultra",
|
|
"type": "image",
|
|
"params": [
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "flux-pro",
|
|
"name": "FLUX Pro",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "flux-dev",
|
|
"name": "FLUX Dev",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "flux-kontext-pro",
|
|
"name": "FLUX Kontext Pro (Edit)",
|
|
"type": "image",
|
|
"params": [
|
|
"size"
|
|
],
|
|
"capabilities": [
|
|
"edit"
|
|
]
|
|
},
|
|
{
|
|
"id": "flux-kontext-max",
|
|
"name": "FLUX Kontext Max (Edit)",
|
|
"type": "image",
|
|
"params": [
|
|
"size"
|
|
],
|
|
"capabilities": [
|
|
"edit"
|
|
]
|
|
}
|
|
]
|
|
};
|