Skip to content

fix(opencode): send x-opencode-session for OpenCode Go - #3033

Open
paulswartz wants to merge 1 commit into
webbrain-one:mainfrom
paulswartz:ps-tkqw
Open

fix(opencode): send x-opencode-session for OpenCode Go#3033
paulswartz wants to merge 1 commit into
webbrain-one:mainfrom
paulswartz:ps-tkqw

Conversation

@paulswartz

Copy link
Copy Markdown

OpenCode Go rejects chat requests that omit x-opencode-session. Forward the active per-tab conversation id as the session id, with a stable per-provider fallback for calls without a conversation (for example Test connection). Gate the header to the opencode-go provider in both Chrome and Firefox builds.

Tested the Firefox and Chrome version locally: Test Connection works, and the sidebar passed a smoke test (responding to a simple question)

Closes #3031

OpenCode Go rejects chat requests that omit x-opencode-session. Forward the active per-tab conversation id as the session id, with a stable per-provider fallback for calls without a conversation (for example Test connection). Gate the header to the opencode-go provider in both Chrome and Firefox builds.
@vercel

vercel Bot commented Sep 13, 2026

Copy link
Copy Markdown

@paulswartz is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCode Go needs x-opencode-session header

1 participant