Client or integration
Codex App
Provider or upstream service
OpenCode Go (opencode-go)
OpenCodex version
2.40.0
Endpoint or capability
OpenCode Go inference requests (/v1/chat/completions)
Current behaviour
On 3 September 2026, I received an email from updates@opencode.ai, subject “Missing OpenCode Go Header.” It says some requests are missing x-opencode-session, identifies their user agent as Bun fetch, and warns that requests without the header may error starting 09/06.
OpenCodex uses Bun for upstream requests and does not appear to send this header.
Expected behaviour
OpenCodex should send x-opencode-session: <stable-id-per-conversation> with OpenCode Go requests.
Minimal redacted request or reproduction
1. Configure OpenCode Go in OpenCodex.
2. Use an opencode-go model from Codex App.
3. Send multiple turns in one task.
4. The provider reports that requests from "Bun fetch" lack x-opencode-session.
Actual response or error
Provider email: requests without x-opencode-session may error starting 09/06.
User agent: Bun fetch
Upstream documentation
No public specification found. This requirement was communicated directly by updates@opencode.ai on 3 September 2026.
Suggested mapping or implementation notes
Send a stable opaque value per conversation, as requested by the provider.
Additional context and attachments
Related: #2160
Checks
Client or integration
Codex App
Provider or upstream service
OpenCode Go (
opencode-go)OpenCodex version
2.40.0
Endpoint or capability
OpenCode Go inference requests (
/v1/chat/completions)Current behaviour
On 3 September 2026, I received an email from
updates@opencode.ai, subject “Missing OpenCode Go Header.” It says some requests are missingx-opencode-session, identifies their user agent as Bun fetch, and warns that requests without the header may error starting 09/06.OpenCodex uses Bun for upstream requests and does not appear to send this header.
Expected behaviour
OpenCodex should send
x-opencode-session: <stable-id-per-conversation>with OpenCode Go requests.Minimal redacted request or reproduction
Actual response or error
Upstream documentation
No public specification found. This requirement was communicated directly by
updates@opencode.aion 3 September 2026.Suggested mapping or implementation notes
Send a stable opaque value per conversation, as requested by the provider.
Additional context and attachments
Related: #2160
Checks