Requirements for dsh-opencode-go
DeepSeek Harness must be version 0.2.1-rc.5 or newer. The README documents use with the Web and headless profiles. The plugin provides an OpenCode Go provider and a separate Free route, but the Free route is disabled until explicitly enabled.
Configuring dsh-opencode-go
Accounts are added in Settings → OpenCode Go → Accounts. DeepSeek Harness stores each API key in its credential system; the interface does not display the key in plaintext. Up to 20 accounts can be reordered, and the first account is the primary account.
| Setting |
Behaviour |
freeEnabled |
Enables the Free route; the default is disabled. |
freeBaseURL |
The Free gateway URL. Stored keys are reused only for the official HTTPS opencode.ai endpoint, or when this URL has the same origin as baseURL. |
baseURL |
The main gateway URL, including its protocol, host and port. |
appearanceTheme |
Selects DSH Native, the default, or OpenCode Go Classic. |
Model context limits, maximum output, thinking budget and HTTP/HTTPS/SOCKS5 proxy settings can be changed without restarting DeepSeek Harness. Advanced settings require an explicit save; other switches take effect immediately.
How dsh-opencode-go behaves
DeepSeek Harness receives model entries discovered from the gateway’s /models endpoint. The plugin adds x-opencode-session to requests for session-level gateway cache binding. With automatic failover enabled, 401, 403, 429 or quota exhaustion causes a retry with the next available account before output begins. A rejected key enters a five-minute in-memory cooling period. Once a backup succeeds, it becomes primary.
Usage data refreshes silently by default once per minute and pauses when the page is inactive. Historical reports use the official daily CSV, with UTC dates and selectable one-, seven-, 30- or 90-day ranges.
Limits for dsh-opencode-go
Free-channel rate limits follow Retry-After; shared Free quota or IP limits do not trigger Go account switching. Free requests using an ineligible custom endpoint use anonymous public access instead of stored keys. Historical analytics cover only the official model gateway, may be delayed, and do not guarantee anonymous Free coverage.
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub