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 읽기 ↗
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 |