mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-02-28 15:38:28 +08:00
将 compute/providers.json(54KB, 14 providers, 99 models)拆分为
compute/providers/ 目录下的独立 JSON 文件,便于维护和按需更新。
新增文件:
- compute/providers/_index.json — 加载顺序索引(保证 digest 确定性)
- compute/providers/{provider}.json × 14 — 各 provider 独立配置
保留 compute/providers.json 供旧客户端向后兼容(过渡期)。
presetDataVersion: 2 → 3
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
||
"id": "provider-lingyiwanwu-001",
|
||
"provider": "lingyiwanwu",
|
||
"label": "零一万物",
|
||
"baseUrl": "https://api.lingyiwanwu.com/v1",
|
||
"apiFormat": "openai-completions",
|
||
"apiKeyRef": "lingyiwanwu",
|
||
"apiKeyVerified": false,
|
||
"enabled": false,
|
||
"status": "unconfigured",
|
||
"services": [
|
||
"chat",
|
||
"vision"
|
||
],
|
||
"defaultTemperature": 0.7,
|
||
"defaultTopP": 0.9,
|
||
"models": [
|
||
{
|
||
"modelName": "yi-lightning",
|
||
"displayName": "Yi Lightning",
|
||
"serviceType": "chat",
|
||
"description": "零一万物高性能模型,16K上下文,智能路由,极高性价比",
|
||
"contextWindow": 16000,
|
||
"maxOutputTokens": 4096,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"fast",
|
||
"smart_routing"
|
||
],
|
||
"inputPrice": 0.99,
|
||
"outputPrice": 0.99,
|
||
"extra": {}
|
||
},
|
||
{
|
||
"modelName": "yi-vision-v2",
|
||
"displayName": "Yi Vision V2",
|
||
"serviceType": "vision",
|
||
"description": "零一万物复杂视觉任务模型,16K上下文,支持多图分析",
|
||
"contextWindow": 16000,
|
||
"maxOutputTokens": 4096,
|
||
"capabilities": [
|
||
"chat",
|
||
"vision",
|
||
"image_understanding",
|
||
"ocr",
|
||
"chart_analysis",
|
||
"smart_routing"
|
||
],
|
||
"inputPrice": 6,
|
||
"outputPrice": 6,
|
||
"extra": {}
|
||
}
|
||
]
|
||
}
|