@wxl095 在 CLIProxyAPI 反代的 codex 在 opencode 中使用报错求助 中发帖
提供商配置如下:
"cliproxyapi": {
"models": {
"gpt-5.2-codex": {
"name": "gpt-5.2-codex"
},
"gpt-5.3-codex": {
"name": "gpt-5.3-codex"
}
},
"name": "CLIProxyAPI",
"npm": "@ai-sdk/openai-compatible",
"options": {
"apiKey": "sk-12345678",
"baseURL": "https://127.0.0.1:8317/v1"
}
}
在 opencode 中使用...