mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-04-21 13:41:39 +08:00
fix: 修复供应商默认端点 URL 并新增 Coding Plan 配置
- anthropic: 去掉多余的 /v1(Anthropic 原生 API 不带版本路径) - deepseek: 去掉 /v1(官方推荐不带版本后缀) - minimax: 域名从 minimax.io 改为 minimaxi.com(国内正式域名) - 新增 compute/coding-plans/ 目录(8 个 Coding Plan 供应商配置) - manifest presetDataVersion 9 → 10 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
compute/coding-plans/_index.json
Normal file
13
compute/coding-plans/_index.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"description": "Coding Plan 预设加载顺序索引",
|
||||
"order": [
|
||||
"zhipu-coding",
|
||||
"dashscope-coding",
|
||||
"volcengine-coding",
|
||||
"minimax-coding",
|
||||
"moonshot-coding",
|
||||
"infini-coding",
|
||||
"moorethread-coding",
|
||||
"kwai-coding"
|
||||
]
|
||||
}
|
||||
43
compute/coding-plans/dashscope-coding.json
Normal file
43
compute/coding-plans/dashscope-coding.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": "provider-dashscope-coding-001",
|
||||
"provider": "dashscope",
|
||||
"brandGroup": "dashscope",
|
||||
"label": "百炼 Coding Plan",
|
||||
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat", "reasoning"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"consoleUrl": "https://bailian.console.aliyun.com/"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "qwen3-coder-plus",
|
||||
"displayName": "Qwen3 Coder Plus (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "阿里云百炼 Coding Plan,Qwen3 编程增强版",
|
||||
"contextWindow": 131072,
|
||||
"maxOutputTokens": 16384,
|
||||
"capabilities": ["chat", "reasoning", "code", "tool_use"],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "qwen3-max",
|
||||
"displayName": "Qwen3 Max (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "阿里云百炼 Coding Plan,Qwen3 Max 旗舰模型",
|
||||
"contextWindow": 131072,
|
||||
"maxOutputTokens": 16384,
|
||||
"capabilities": ["chat", "reasoning", "code", "multilingual"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
33
compute/coding-plans/infini-coding.json
Normal file
33
compute/coding-plans/infini-coding.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"id": "provider-infini-coding-001",
|
||||
"provider": "infini",
|
||||
"brandGroup": "infini",
|
||||
"label": "无问芯穹 Coding Plan",
|
||||
"baseUrl": "https://cloud.infini-ai.com/maas/coding/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat", "reasoning"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"consoleUrl": "https://cloud.infini-ai.com/console"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "deepseek-v3",
|
||||
"displayName": "DeepSeek V3 (芯穹 Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "无问芯穹 Coding Plan,DeepSeek V3 编程优化",
|
||||
"contextWindow": 128000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": ["chat", "reasoning", "code", "multilingual"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
31
compute/coding-plans/kwai-coding.json
Normal file
31
compute/coding-plans/kwai-coding.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"id": "provider-kwai-coding-001",
|
||||
"provider": "kwai",
|
||||
"brandGroup": "kwai",
|
||||
"label": "快手 KwaiKAT Coding Plan",
|
||||
"baseUrl": "https://wanqing.streamlakeapi.com/api/gateway/coding/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"consoleUrl": "https://console.streamlake.ai/wanqing/"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "kwai-coder",
|
||||
"displayName": "KwaiKAT Coder (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "快手 KwaiKAT Coding Plan,编程辅助模型",
|
||||
"capabilities": ["chat", "code"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
34
compute/coding-plans/minimax-coding.json
Normal file
34
compute/coding-plans/minimax-coding.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": "provider-minimax-coding-001",
|
||||
"provider": "minimax",
|
||||
"brandGroup": "minimax",
|
||||
"label": "MiniMax Coding Plan",
|
||||
"baseUrl": "https://api.minimaxi.com/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat", "reasoning"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "rest-api",
|
||||
"endpoint": "https://api.minimaxi.com/v1/coding/usage",
|
||||
"consoleUrl": "https://platform.minimaxi.com/"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "MiniMax-M1",
|
||||
"displayName": "MiniMax-M1 (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "MiniMax Coding Plan,M1 旗舰模型",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 131072,
|
||||
"capabilities": ["chat", "reasoning", "code", "long_context"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
33
compute/coding-plans/moonshot-coding.json
Normal file
33
compute/coding-plans/moonshot-coding.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"id": "provider-moonshot-coding-001",
|
||||
"provider": "moonshot",
|
||||
"brandGroup": "moonshot",
|
||||
"label": "Kimi Code",
|
||||
"baseUrl": "https://api.kimi.com/coding/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat", "reasoning"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"consoleUrl": "https://platform.moonshot.cn/"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "kimi-k2",
|
||||
"displayName": "Kimi K2 (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "Kimi Code 套餐,万亿参数 MoE 模型,128K 上下文",
|
||||
"contextWindow": 128000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": ["chat", "reasoning", "code", "tool_use", "agent"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
31
compute/coding-plans/moorethread-coding.json
Normal file
31
compute/coding-plans/moorethread-coding.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"id": "provider-moorethread-coding-001",
|
||||
"provider": "moorethread",
|
||||
"brandGroup": "moorethread",
|
||||
"label": "摩尔线程 Coding Plan",
|
||||
"baseUrl": "https://api.mthreads.com/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"consoleUrl": "https://www.mthreads.com/console"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "mt-coder",
|
||||
"displayName": "MT Coder (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "摩尔线程 Coding Plan,国产 GPU 推理",
|
||||
"capabilities": ["chat", "code"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
37
compute/coding-plans/volcengine-coding.json
Normal file
37
compute/coding-plans/volcengine-coding.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "provider-volcengine-coding-001",
|
||||
"provider": "volcengine",
|
||||
"brandGroup": "volcengine",
|
||||
"label": "火山引擎 Coding Plan",
|
||||
"baseUrl": "https://ark.cn-beijing.volces.com/api/coding/v3",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat", "reasoning"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "response-header",
|
||||
"headerKeys": {
|
||||
"remaining": "x-ratelimit-remaining",
|
||||
"limit": "x-ratelimit-limit",
|
||||
"reset": "x-ratelimit-reset"
|
||||
},
|
||||
"consoleUrl": "https://console.volcengine.com/ark"
|
||||
},
|
||||
"modelIdOverride": "ark-code-latest"
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "ark-code-latest",
|
||||
"displayName": "Ark Code Latest (Auto)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "自动路由最优编程模型(Doubao-Seed-Code / GLM-4.7 / DeepSeek-V3.2 / Kimi-K2 等)",
|
||||
"capabilities": ["code", "reasoning", "chat"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
43
compute/coding-plans/zhipu-coding.json
Normal file
43
compute/coding-plans/zhipu-coding.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": "provider-zhipu-coding-001",
|
||||
"provider": "zhipu",
|
||||
"brandGroup": "zhipu",
|
||||
"label": "智谱 Coding Plan",
|
||||
"baseUrl": "https://open.bigmodel.cn/api/coding/paas/v4",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"accessMode": "coding-plan",
|
||||
"services": ["chat", "reasoning"],
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"consoleUrl": "https://open.bigmodel.cn/console/overview"
|
||||
}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"modelName": "glm-5",
|
||||
"displayName": "GLM-5 (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "智谱 GLM-5 Coding Plan 版本,745B MoE,编程能力登顶",
|
||||
"contextWindow": 192000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": ["chat", "reasoning", "code", "deep_thinking", "long_context"],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.7",
|
||||
"displayName": "GLM-4.7 (Coding)",
|
||||
"serviceType": ["chat"],
|
||||
"description": "智谱 GLM-4.7 Coding Plan 版本,200K 上下文",
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": ["chat", "reasoning", "code", "deep_thinking", "long_context"],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "provider-anthropic-001",
|
||||
"provider": "anthropic",
|
||||
"label": "Anthropic Claude",
|
||||
"baseUrl": "https://api.anthropic.com/v1",
|
||||
"baseUrl": "https://api.anthropic.com",
|
||||
"apiFormat": "anthropic-messages",
|
||||
"apiKeyRef": "anthropic",
|
||||
"apiKeyVerified": false,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "provider-deepseek-001",
|
||||
"provider": "deepseek",
|
||||
"label": "DeepSeek",
|
||||
"baseUrl": "https://api.deepseek.com/v1",
|
||||
"baseUrl": "https://api.deepseek.com",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "deepseek",
|
||||
"apiKeyVerified": false,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "provider-minimax-001",
|
||||
"provider": "minimax",
|
||||
"label": "MiniMax",
|
||||
"baseUrl": "https://api.minimax.io/v1",
|
||||
"baseUrl": "https://api.minimaxi.com/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "minimax",
|
||||
"apiKeyVerified": false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"presetDataVersion": 9,
|
||||
"updatedAt": "2026-03-03",
|
||||
"presetDataVersion": 10,
|
||||
"updatedAt": "2026-03-16",
|
||||
"description": "DesireCore 官方配置中心"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user