2869949486/dsh-opencode-quota-router ↗★ 0

dsh-opencode-quota-router

dsh plugin: per-model OpenCode Go quota routing with DeepSeek account fallback.

包名
dsh-opencode-quota-router
兼容性
待验证
Harness 依赖范围
^0.2.0-rc.1
版本
1.0.0
许可证
MIT
最近更新
2026年10月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:2869949486/dsh-opencode-quota-router

Configuration

The bundle patch carries defaults; override the row opencode-quota-router in your profile patch:

- id: opencode-quota-router
  config:
    usageUrl: https://opencode.ai/inference/go/v1/usage
    apiKeyRef: OPENCODE_API_KEY
    probeIntervalMs: 1800000
    modelQuarantineMs: 1800000
    routes:
      - primary: { provider: opencode-go, model: deepseek-v4.1-flash }
        fallback: { provider: deepseek-account, model: deepseek-flash }

Optional fields: minProbeDelayMs, unconfirmedDelayMs, modelQuarantineMs, statePath.