Description
After upgrading OpenCode via Homebrew from 1.14.28 to 1.15.11, requests using the OpenAI provider began failing with:
Provider response headers timed out after 10000ms
Increasing the OpenAI provider headerTimeout resolved the issue locally.
This looks like a regression or a default timeout that may be too aggressive for some OpenAI/ChatGPT-provider requests or network environments.
Plugins
No custom plugins involved in the repro.
OpenCode version
1.15.11
Installed via Homebrew.
Steps to reproduce
- Upgrade OpenCode from
1.14.28 to 1.15.11 via Homebrew.
- Use the OpenAI provider with
gpt-5.5-fast / GPT-5.5 Fast.
- Run a normal request.
- Observe the request fail with:
Provider response headers timed out after 10000ms
- Add the following provider options to the global config:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"openai": {
"options": {
"headerTimeout": 60000,
"timeout": 600000,
"chunkTimeout": 60000
}
}
}
}
- Verify with
opencode debug config that the options are loaded.
- Run the same request again.
- Observe that it succeeds after increasing
headerTimeout.
Screenshot and/or share link
N/A. Relevant terminal error is included above.
Operating System
macOS, arm64
Terminal
zsh
Question
Is the 10000ms default intended for OpenAI/ChatGPT-provider requests in 1.15.11? It may be too low for some responses or network/proxy environments.
Description
After upgrading OpenCode via Homebrew from
1.14.28to1.15.11, requests using the OpenAI provider began failing with:Increasing the OpenAI provider
headerTimeoutresolved the issue locally.This looks like a regression or a default timeout that may be too aggressive for some OpenAI/ChatGPT-provider requests or network environments.
Plugins
No custom plugins involved in the repro.
OpenCode version
1.15.11Installed via Homebrew.
Steps to reproduce
1.14.28to1.15.11via Homebrew.gpt-5.5-fast/ GPT-5.5 Fast.{ "$schema": "https://opencode.ai/config.json", "provider": { "openai": { "options": { "headerTimeout": 60000, "timeout": 600000, "chunkTimeout": 60000 } } } }opencode debug configthat the options are loaded.headerTimeout.Screenshot and/or share link
N/A. Relevant terminal error is included above.
Operating System
macOS, arm64
Terminal
zsh
Question
Is the
10000msdefault intended for OpenAI/ChatGPT-provider requests in1.15.11? It may be too low for some responses or network/proxy environments.