
decoluaandCursor
dd1e0f9bcc
refactor(registry): B2 migrate to LiteLLM-style schema — unified models[] with kind field
- 71 registry files: flat `media.*Config.models` → `models[]` with `kind` field
- `media` wrapper removed → serviceKinds, *Config fields promoted top-level
- `type` field renamed to `kind` (llm/image/tts/stt/embedding/embedding/video/music)
- providers/index.js: PROVIDER_MEDIA now built from flat top-level media fields
- shared/constants/providers.js: buildProviderEntry reads flat top-level media fields
- route /v1/models: modelKind() uses kind||type; removed subConfig merge block
- models/info route: removed sub-config fallback lookup (all models in PROVIDER_MODELS)
- ttsProviders/index.js: synthesizeViaConfig reads tts models from PROVIDER_MODELS
- test-models route, helpers.js, validate route: kind||type compat
- Baselines: PROVIDERS 62/62 ✅, Alias 90/90 ✅
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 14:32:59 +07:00
..
2026-06-08 12:10:02 +07:00
2026-06-08 15:35:37 +07:00
2026-04-28 17:28:57 +07:00
2026-05-21 14:30:59 +07:00
2026-05-16 10:54:41 +07:00
2026-03-06 16:44:16 +07:00
2026-03-06 10:57:42 +07:00
2026-06-08 15:35:37 +07:00
2026-05-13 15:34:10 +07:00
2026-06-03 01:53:34 +08:00
2026-06-08 10:08:46 +07:00
2026-01-09 17:48:42 +07:00
2026-04-25 16:22:30 +07:00
2026-06-14 14:32:59 +07:00
2026-05-26 11:21:49 +07:00
2026-06-13 11:40:35 +07:00
2026-04-08 15:39:09 +07:00
2026-01-05 09:58:59 +07:00
2026-06-06 11:04:36 +07:00
2026-06-08 10:14:59 +07:00
2026-06-06 11:04:36 +07:00
2026-06-14 14:32:59 +07:00
2026-04-30 18:00:38 +07:00
2026-05-09 22:48:07 +07:00