mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 03:13:20 +08:00
This reverts commit d85810da79.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
"description": "Provider 加载顺序索引",
|
"description": "Provider 加载顺序索引",
|
||||||
"order": [
|
"order": [
|
||||||
"openai",
|
"openai",
|
||||||
|
"openai-codex",
|
||||||
"anthropic",
|
"anthropic",
|
||||||
"deepseek",
|
"deepseek",
|
||||||
"dashscope",
|
"dashscope",
|
||||||
|
|||||||
126
compute/providers/openai-codex.json
Normal file
126
compute/providers/openai-codex.json
Normal file
@@ -0,0 +1,126 @@
|
|||||||
|
{
|
||||||
|
"id": "provider-openai-codex-plan-001",
|
||||||
|
"provider": "openai-codex",
|
||||||
|
"brandGroup": "openai",
|
||||||
|
"label": "ChatGPT 订阅 (Codex)",
|
||||||
|
"baseUrl": "https://chatgpt.com/backend-api",
|
||||||
|
"apiFormat": "openai-codex-responses",
|
||||||
|
"apiKeyRef": "openai-codex-access-token",
|
||||||
|
"apiKeyVerified": false,
|
||||||
|
"enabled": false,
|
||||||
|
"status": "unconfigured",
|
||||||
|
"priceCurrency": "USD",
|
||||||
|
"accessMode": "coding-plan",
|
||||||
|
"credentialSource": "codex-cli",
|
||||||
|
"codingPlan": {
|
||||||
|
"quotas": {},
|
||||||
|
"usageTracking": {
|
||||||
|
"method": "none",
|
||||||
|
"consoleUrl": "https://chatgpt.com/codex/settings/usage"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"services": [
|
||||||
|
"chat",
|
||||||
|
"reasoning"
|
||||||
|
],
|
||||||
|
"models": [
|
||||||
|
{
|
||||||
|
"modelName": "gpt-5.5",
|
||||||
|
"displayName": "GPT-5.5 (订阅)",
|
||||||
|
"serviceType": [
|
||||||
|
"chat"
|
||||||
|
],
|
||||||
|
"description": "ChatGPT 订阅额度计费,旗舰模型,272K 上下文",
|
||||||
|
"contextWindow": 272000,
|
||||||
|
"maxOutputTokens": 128000,
|
||||||
|
"capabilities": [
|
||||||
|
"chat",
|
||||||
|
"reasoning",
|
||||||
|
"code",
|
||||||
|
"vision",
|
||||||
|
"long_context",
|
||||||
|
"tool_use",
|
||||||
|
"agent"
|
||||||
|
],
|
||||||
|
"source": "preset"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modelName": "gpt-5.4",
|
||||||
|
"displayName": "GPT-5.4 (订阅)",
|
||||||
|
"serviceType": [
|
||||||
|
"chat"
|
||||||
|
],
|
||||||
|
"description": "ChatGPT 订阅额度计费,高阶通用模型,272K 上下文",
|
||||||
|
"contextWindow": 272000,
|
||||||
|
"maxOutputTokens": 128000,
|
||||||
|
"capabilities": [
|
||||||
|
"chat",
|
||||||
|
"reasoning",
|
||||||
|
"code",
|
||||||
|
"vision",
|
||||||
|
"long_context",
|
||||||
|
"tool_use",
|
||||||
|
"agent"
|
||||||
|
],
|
||||||
|
"source": "preset"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modelName": "gpt-5.3-codex",
|
||||||
|
"displayName": "GPT-5.3 Codex (订阅)",
|
||||||
|
"serviceType": [
|
||||||
|
"chat"
|
||||||
|
],
|
||||||
|
"description": "ChatGPT 订阅额度计费,编程专用旗舰,272K 上下文",
|
||||||
|
"contextWindow": 272000,
|
||||||
|
"maxOutputTokens": 128000,
|
||||||
|
"capabilities": [
|
||||||
|
"chat",
|
||||||
|
"reasoning",
|
||||||
|
"code",
|
||||||
|
"vision",
|
||||||
|
"long_context",
|
||||||
|
"tool_use",
|
||||||
|
"agent"
|
||||||
|
],
|
||||||
|
"source": "preset"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modelName": "gpt-5.2-codex",
|
||||||
|
"displayName": "GPT-5.2 Codex (订阅)",
|
||||||
|
"serviceType": [
|
||||||
|
"chat"
|
||||||
|
],
|
||||||
|
"description": "ChatGPT 订阅额度计费,编程专用模型,272K 上下文",
|
||||||
|
"contextWindow": 272000,
|
||||||
|
"maxOutputTokens": 128000,
|
||||||
|
"capabilities": [
|
||||||
|
"chat",
|
||||||
|
"reasoning",
|
||||||
|
"code",
|
||||||
|
"vision",
|
||||||
|
"long_context",
|
||||||
|
"tool_use",
|
||||||
|
"agent"
|
||||||
|
],
|
||||||
|
"source": "preset"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modelName": "gpt-5.1-codex-mini",
|
||||||
|
"displayName": "GPT-5.1 Codex Mini (订阅)",
|
||||||
|
"serviceType": [
|
||||||
|
"chat"
|
||||||
|
],
|
||||||
|
"description": "ChatGPT 订阅额度计费,轻量编程模型,272K 上下文",
|
||||||
|
"contextWindow": 272000,
|
||||||
|
"maxOutputTokens": 128000,
|
||||||
|
"capabilities": [
|
||||||
|
"chat",
|
||||||
|
"code",
|
||||||
|
"vision",
|
||||||
|
"long_context",
|
||||||
|
"tool_use"
|
||||||
|
],
|
||||||
|
"source": "preset"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"presetDataVersion": 63,
|
"presetDataVersion": 64,
|
||||||
"updatedAt": "2026-07-03",
|
"updatedAt": "2026-07-03",
|
||||||
"description": "DesireCore 官方配置中心"
|
"description": "DesireCore 官方配置中心"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "品牌分组标识,UI 按此字段排序"
|
"description": "品牌分组标识,UI 按此字段排序"
|
||||||
},
|
},
|
||||||
|
"credentialSource": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["codex-cli"],
|
||||||
|
"description": "凭证托管来源。codex-cli:密钥由客户端本地 Codex CLI 凭证检测器托管(读取 ~/.codex/auth.json 自动刷新写回,fresh token 同步 secrets.json)。需 requiredClientVersion ≥ 引入此字段的客户端版本——老客户端不识别本字段,必须先发版铺开 compute.json 韧性(容忍未知字段)再推送本数据"
|
||||||
|
},
|
||||||
"codingPlan": {
|
"codingPlan": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Coding Plan / Token Plan 专属配置(仅当 accessMode = coding-plan 或 token-plan 时有效)",
|
"description": "Coding Plan / Token Plan 专属配置(仅当 accessMode = coding-plan 或 token-plan 时有效)",
|
||||||
|
|||||||
Reference in New Issue
Block a user