jdz321/dsh-plugin-relay ↗★ 0

dsh-plugin-relay

通过中转面板路由模型流量并管理API密钥 适合使用多个中转API服务、需要统一管理渠道、密钥和同步模型列表的用户。

包名
dsh-plugin-relay
兼容性
待验证
Harness 依赖范围
0.2.1-alpha.2
版本
0.7.1
许可证
MIT
最近更新
2026年10月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jdz321/dsh-plugin-relay

Usage

  1. Open Settings → Relay → Connection, press Add panel, and fill in a name (letters/digits/_/-, ≤32 chars — it becomes the model provider's name), the panel origin (no /v1 suffix), the access token from the panel's personal page (client token / access token), and the user ID shown on the same page. Test connection verifies the trio before you commit to keys.
  2. Click the panel's row to expand it inline. On API keys, create a key if you don't have one (or press Use on an existing one). The plugin writes the key into the dsh credential store, builds the panel's model route, and syncs the key's model catalog. Repeat for as many panels as you like — they all stay live side by side.
  3. On Models, review pricing per model; refreshing keeps dsh's route catalog in step with what the key can actually call.
  4. On Dashboard and Usage logs, keep an eye on balance and consumption; both read the panel's reporting APIs read-only.
  5. On Capabilities (main page), browse the preset entries (searchable, collapsed by default) and copy any of them into My entries when you need a tweak; the presets fetch automatically from models.dev on first use (once a day afterwards), and Refresh presets re-fetches immediately, re-applying the values to every panel's catalog. Context windows and output limits take 131072, 128K, or 1M alike. Edit a platform-model card only when a specific id needs different values — Done saves it right away for that panel.