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

@@ -44,13 +44,12 @@
}
}
},
"packy-openai": {
"name": "Packy OpenAI",
"cpa-openai": {
"name": "CPA OpenAI",
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "https://www.packyapi.com/v1",
"apiKey": "{env:PACKY_API_KEY}",
"setCacheKey": true
"baseURL": "http://10.0.1.1:8317/v1",
"apiKey": "{env:CPA_API_KEY}"
},
"models": {
"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"
// }
// }
// }
// }
}
}