- 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>
34 lines
1 KiB
JavaScript
34 lines
1 KiB
JavaScript
export default {
|
|
id: "volcengine-ark",
|
|
alias: "volcengine-ark",
|
|
aliases: [
|
|
"ark",
|
|
],
|
|
uiAlias: "ark",
|
|
display: {
|
|
name: "Volcengine Ark",
|
|
icon: "cloud",
|
|
color: "#1677FF",
|
|
textIcon: "ARK",
|
|
website: "https://ark.cn-beijing.volces.com",
|
|
notice: {
|
|
apiKeyUrl: "https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey",
|
|
},
|
|
},
|
|
category: "apikey",
|
|
transport: {
|
|
baseUrl: "https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",
|
|
headers: {},
|
|
},
|
|
models: [
|
|
{ id: "Doubao-Seed-2.0-Code", name: "Doubao-Seed-2.0-Code" },
|
|
{ id: "Doubao-Seed-2.0-pro", name: "Doubao-Seed-2.0-pro" },
|
|
{ id: "Doubao-Seed-2.0-lite", name: "Doubao-Seed-2.0-lite" },
|
|
{ id: "Doubao-Seed-Code", name: "Doubao-Seed-Code" },
|
|
{ id: "DeepSeek-V4-Flash", name: "DeepSeek-V4-Flash" },
|
|
{ id: "DeepSeek-V4-Pro", name: "DeepSeek-V4-Pro" },
|
|
{ id: "GLM-5.1", name: "GLM-5.1" },
|
|
{ id: "MiniMax-M2.7", name: "MiniMax-M2.7" },
|
|
{ id: "Kimi-K2.6", name: "Kimi-K2.6" },
|
|
],
|
|
};
|