refactor: 更新模型标识符与配置以匹配新命名规范

- 更新模型标识符为cpa-openai和cpa-google以反映新的命名规范。
- 将 packy-openai 配置替换为 cpa-openai,更新 API 地址和密钥环境变量,并移除旧的注释配置。
This commit is contained in:
2026-01-26 22:52:10 +08:00
parent 8b4730f1d0
commit fb9f7a050f
2 changed files with 29 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
}, },
"oracle": { "oracle": {
// Consultation, debugging // Consultation, debugging
"model": "packy-openai/gpt-5.2" "model": "cpa-openai/gpt-5.2"
}, },
"librarian": { "librarian": {
// Docs, GitHub search // Docs, GitHub search
@@ -35,7 +35,7 @@
"model": "cpa-google/gemini-3-pro-high" "model": "cpa-google/gemini-3-pro-high"
}, },
"ultrabrain": { "ultrabrain": {
"model": "packy-openai/gpt-5.2-codex" "model": "cpa-openai/gpt-5.2-codex"
}, },
"artistry": { "artistry": {
"model": "cpa-google/gemini-3-pro-high" "model": "cpa-google/gemini-3-pro-high"

View File

@@ -44,13 +44,12 @@
} }
} }
}, },
"packy-openai": { "cpa-openai": {
"name": "Packy OpenAI", "name": "CPA OpenAI",
"npm": "@ai-sdk/openai", "npm": "@ai-sdk/openai",
"options": { "options": {
"baseURL": "https://www.packyapi.com/v1", "baseURL": "http://10.0.1.1:8317/v1",
"apiKey": "{env:PACKY_API_KEY}", "apiKey": "{env:CPA_API_KEY}"
"setCacheKey": true
}, },
"models": { "models": {
"gpt-5.2": { "gpt-5.2": {
@@ -67,5 +66,28 @@
} }
} }
} }
// "packy-openai": {
// "name": "Packy OpenAI",
// "npm": "@ai-sdk/openai",
// "options": {
// "baseURL": "https://www.packyapi.com/v1",
// "apiKey": "{env:PACKY_API_KEY}",
// "setCacheKey": true
// },
// "models": {
// "gpt-5.2": {
// "name": "GPT-5.2",
// "options": {
// "reasoningEffort": "xhigh"
// }
// },
// "gpt-5.2-codex": {
// "name": "GPT-5.2-Codex",
// "options": {
// "reasoningEffort": "xhigh"
// }
// }
// }
// }
} }
} }