xiaozhe7772222/dsh-api-key-pool

xiaozhe7772222★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

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

README 摘要

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…

在 GitHub 查看完整 README →
皮肤/UIapi-keyapi-key-rotationdeepseek-harnessdshdsh-pluginweb ui

分类