@terry0811 在 opencode 实现 websocket 连接,你们的opencode,用的是流式的还是ws请求到中转站的 中发帖
opencode 实现 像codex一样的 websocket 连接
gpt 账号授权
走的中转
opencode.json 修改openai的配置,把他指向自定义的url ,把openai 这个模型变成自定义的。
"provider": {
"openai": {
"options": {
"baseURL": "你的中转地址",
"setCacheKey": true
},
"models": {
"gpt-5.5": {
"name": "gpt-5.5",
"thinking": true,
"options": {
"store": false
},
...