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>
This commit is contained in:
35
open-sse/providers/registry/runwayml.js
Normal file
35
open-sse/providers/registry/runwayml.js
Normal file
@@ -0,0 +1,35 @@
|
||||
export default {
|
||||
"id": "runwayml",
|
||||
"alias": "runwayml",
|
||||
"transport": null,
|
||||
"models": [
|
||||
{
|
||||
"id": "gen4_image",
|
||||
"name": "Gen-4 Image",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "gen4_image_turbo",
|
||||
"name": "Gen-4 Image Turbo",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "gen4_turbo",
|
||||
"name": "Gen-4 Turbo",
|
||||
"type": "video",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"id": "gen3a_turbo",
|
||||
"name": "Gen-3 Alpha Turbo",
|
||||
"type": "video",
|
||||
"params": []
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user