xiaozhe7772222/dsh-api-key-pool

xiaozhe7772222★ 0JavaScriptLast synced: 2026-08-15

Open on GitHub

API Key rotation pool for DeepSeek Harness: multi-key round-robin, failover on 401/403/429, cooldown & recovery, Web UI management panel

README excerpt

dsh-api-key-pool API Key 轮换池插件 · API Key Rotation Pool Plugin for DeepSeek Harness (DSH) 🐧 Designed & built by 小哲 (@xiaozhe7772222) 多 Key 自动轮换 · 失败自动切换 · 冷却恢复 · Web 管理面板 Multi-key round-robin · Automatic failover · Cooldown & recovery · Web UI panel English 中文 English ✨ Features Feature Description 🔄 Round-robin rotation Multiple keys per provider, rotated per request for load balancing 🛡️ Automatic failover Key fails with 401 / 403 / 429 → automatically marked unhealthy, next key takes over ⏱️ Cooldown & recovery Failed keys enter exponential-backoff cooldown (30s default), auto back in rotation when expired 🌐 Web management panel DSH Web UI → Settings → Plugins → API Key Pool : add/remove keys, view health, reset cooldowns 🔒 Key masking REST API only exposes masked keys ( sk-abc 1234 ), never full secrets 💾 Persistent config Keys added via Web UI persist to pool-config.json , survive restarts 📦 Installation Then declare the bundle in /.dsh/profiles/web/package.json : Restart DSH: ⚙️ Configuration Option 1: Static config via cordis.patch.yml Field Type Description pools. .apiKeyEnv string Env var name for this provider's API key (must match apiKeyEnv in settings.yaml ) pool…

View full README on GitHub →
Skins / UIapi-keyapi-key-rotationdeepseek-harnessdshdsh-pluginweb ui

Category