dsh-zen-proxy
dsh plugin: in-process OpenAI-compatible proxy that injects official OpenCode Zen client headers, enabling Zen free models in dsh without the 429 FreeUsageLimitError
AI 分析
核心用途是优化 OpenCode Zen 免费模型的使用体验。适合在 DSH 中频繁调用 Zen 免费模型、需要规避请求频率限制的用户。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗Configuration reference
| Field | Default | Description |
|---|---|---|
host | 127.0.0.1 | Bind address |
port | 4097 | Listen port |
upstreamHost | opencode.ai | Zen upstream host |
upstreamBasePath | /zen/v1 | Zen upstream base path |
userAgent | opencode/1.15.5 ai-sdk/provider-utils/4.0.23 runtime/bun/1.3.14 | Official CLI user-agent |
clientHeader | cli | x-opencode-client value |
projectHeader | global | x-opencode-project value |