Description
With the GPT 5.6 model, the request does not go through, while with the GPT 5.5, everything works correctly;
opencode.json (cut)
{
...
"openai": {
"models": {
"gpt-5.6-luna": {
"limit": {
"context": 258000,
"output": 128000
},
"name": "GPT 5.6 Luna",
"options": {
"reasoningEffort": "high",
"textVerbosity": "medium"
},
"variants": {
"medium": {
"reasoningEffort": "medium"
},
"low": {
"reasoningEffort": "low"
},
"high": {
"reasoningEffort": "high"
},
"xhigh": {
"reasoningEffort": "xhigh"
}
},
"reasoning": true
},
"name": "OpenAI",
"npm": "@ai-sdk/openai",
"options": {
"apiKey": "{env:MY_CLI_LLM_PROXY_API_KEY}",
"baseURL": "{env:MY_CLI_LLM_PROXY_URL}"
},
}
The older models work correctly (as well as custom proxy url, since codex cli is working fine with it), but with Opencode, I face a tricky auth err.
Models in the config were added just to avoid any ambiguity
Plugins
none
OpenCode version
1.17.15
Steps to reproduce
- Pick up the GPT5.6 model under the ChatGPT subscription Auth
- Say
hi
Screenshot and/or share link
No response
Operating System
Ubuntu 24
Terminal
iTerm2
Description
With the GPT 5.6 model, the request does not go through, while with the GPT 5.5, everything works correctly;
opencode.json (cut)
{ ... "openai": { "models": { "gpt-5.6-luna": { "limit": { "context": 258000, "output": 128000 }, "name": "GPT 5.6 Luna", "options": { "reasoningEffort": "high", "textVerbosity": "medium" }, "variants": { "medium": { "reasoningEffort": "medium" }, "low": { "reasoningEffort": "low" }, "high": { "reasoningEffort": "high" }, "xhigh": { "reasoningEffort": "xhigh" } }, "reasoning": true }, "name": "OpenAI", "npm": "@ai-sdk/openai", "options": { "apiKey": "{env:MY_CLI_LLM_PROXY_API_KEY}", "baseURL": "{env:MY_CLI_LLM_PROXY_URL}" }, }The older models work correctly (as well as custom proxy url, since codex cli is working fine with it), but with Opencode, I face a tricky auth err.
Models in the config were added just to avoid any ambiguity
Plugins
none
OpenCode version
1.17.15
Steps to reproduce
hiScreenshot and/or share link
No response
Operating System
Ubuntu 24
Terminal
iTerm2