BYOK custom providers: no way to send required custom headers (e.g. x-opencode-session for OpenCode Go)
Problem
OpenCode Go (opencode.ai/zen/go/v1) requires every client to send a stable x-opencode-session header (docs: https://opencode.ai/docs/go/#how-it-works). OpenDesign's BYOK custom provider (OpenAI protocol) sends no such header, so every request is rejected by the Go API.
There is currently no way to configure custom/extra headers per provider in the UI or app config — I checked connectionTest.ts / app-config.ts (v0.22.1): only fixed env-var allowlists (agentCliEnv) exist, no header support.
Expected
A per-provider option to add custom headers (and optionally a custom User-Agent), e.g. in the custom-provider dialog or agentCliEnv-style config.
Current workaround
A local LiteLLM proxy that injects the header — works, but is an extra moving part (own systemd unit, own port) just for one header.
Impact
OpenCode Go users (incl. all your own Go subscribers) cannot use their subscription directly in OpenDesign; models like GLM-5.3-Flash / Kimi / MiniMax are locked out.
Environment: self-hosted Docker, od 0.22.1
Source: nexu-io/open-design