chore: 合并 CPA OpenAI 提供商并统一模型前缀
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"autoupdate": false,
|
||||
"theme": "system",
|
||||
"model": "codex/gpt-5.3-codex",
|
||||
"small_model": "codex/gpt-5.1-codex-mini",
|
||||
"model": "cpa-openai/gpt-5.3-codex",
|
||||
"small_model": "opencode/gpt-5-nano",
|
||||
"plugin": ["oh-my-opencode@latest"],
|
||||
"provider": {
|
||||
// ref: https://models.dev/
|
||||
"codex": {
|
||||
"name": "Codex",
|
||||
"cpa-openai": {
|
||||
"name": "CPA OpenAI",
|
||||
"npm": "@ai-sdk/openai",
|
||||
"options": {
|
||||
"baseURL": "https://codex-api.packycode.com/v1",
|
||||
"apiKey": "{env:CODEX_API_KEY}",
|
||||
"baseURL": "https://cpa.furtherverse.com/v1",
|
||||
"apiKey": "{env:CPA_API_KEY}",
|
||||
"setCacheKey": true
|
||||
},
|
||||
"models": {
|
||||
@@ -20,7 +20,7 @@
|
||||
"name": "GPT-5.3-Codex",
|
||||
"reasoning": true,
|
||||
"modalities": {
|
||||
"input": ["text", "image"],
|
||||
"input": ["text", "image", "pdf"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||
@@ -42,17 +42,7 @@
|
||||
"output": ["text"]
|
||||
},
|
||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"glm-coding-plan": {
|
||||
"name": "GLM Coding Plan",
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"options": {
|
||||
"baseURL": "https://api.z.ai/api/coding/paas/v4",
|
||||
"apiKey": "{env:ZAI_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
},
|
||||
"glm-4.7": {
|
||||
"name": "GLM-4.7",
|
||||
"reasoning": true,
|
||||
|
||||
Reference in New Issue
Block a user