artorias-zj/dsh-opencode-free-model ↗★ 2
dsh-opencode-free-model
DeepSeek Harness plugin: use the OpenCode Zen free model lane with no API key — llm adapter registration, live model catalog, and streaming decode for all three wire protocols (chat / responses / messages). 适合希望无门槛、免密钥调用OpenCode免费模型通道的用户。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:artorias-zj/dsh-opencode-free-modelConfiguration
Configuration comes from the bundle patch's config key. It applies on every
mount, so a key written there always wins over a default; a key it omits falls
back to the default instead of sticking from a previous mount. Only runtime
bookkeeping (runtime.json) is written to disk.
- insert:
- id: opencode-free-model
name: 'dsh-opencode-free-model'
config:
enabled: true # master switch; false advertises nothing and fails calls with CONFIG_DISABLED
exposeRegionModels: true # advertise region-limited models on the second route
probeIntervalMinutes: 15 # background re-probe period, in minutes (>= 1)
defaultMaxTokens: 32768 # per-turn output ceiling (further lowered by the model's own capacity)
streamRecovery: true # allow one reasoning-checkpoint continuation
# wireOverrides: # pin a model to a wire if the upstream moves it
# some-model-free: chat
# baseUrl: https://opencode.ai
A key with the wrong shape is ignored with a warning rather than failing the plugin — a plugin that refuses to load is far worse than one running with a default.
The environment variable OPENCODE_FREE_MODEL_BASE overrides the upstream root
(config.baseUrl takes precedence).