[h@llo.ai] Opencode request error

Describe the bug

Requests to opencode models are failing to respond. The following error is reported.

Error from provider (Console Go): Request is missing x-opencode-session and cannot be routed efficiently. Please see Go | OpenCode


Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
N/A


Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)


Device information:

  • Type of Mac: Apple M3 Pro
  • macOS version: macOS 26.6.2 (25G83)
  • BetterTouchTool version: 6.788 (2026090712)

Additional information (e.g. crash logs, related issues, etc.):

I reported this bug to Osaurus which I also use as an AI harness and they have implemented a fix you can use for reference. added x-opencode-session affinity header for opencode hosts by RaajeevChandran · Pull Request #2666 · osaurus-ai/osaurus · GitHub

While you are looking at this Andreas, would it be possible to add support for "Use OpenCode CLI" for the following settings please? It is a more robust option than using the API directly I find.:folded_hands:

  • Fast Model API Type
  • Fallback Model 1
  • Fallback Model 2 (Optional)