m1khal3v/dsh-llm-key-rotation

m1khal3v★ 1TypeScript最后同步: 2026-08-21

在 GitHub 打开

Seamless API-key rotation for DeepSeek Harness

README 摘要

dsh-llm-key-rotation Seamless API-key rotation for DeepSeek Harness . Hit a quota limit or 429 Rate Limit? The plugin swaps in the next key you configured and retries instantly — no restarts, no context loss, and zero interruptions. ⚡️ Highlights - 🔄 Invisible to Agent & User : Request fails with quota/rate limit → plugin hot-swaps the key → request retries and succeeds seamlessly. - 🎛 Native Web UI : List every key a provider can use and toggle rotation right inside Settings. - 🧠 Smart Anti-Spin : Cooldown discipline prevents infinite loops if all your keys are exhausted. - 🧼 Zero Core Patches : Plugs cleanly into the Harness recovery waterfall — safe to install, safe to remove. 🛠 How It Works 1. You keep working with your currently-active key as usual. 2. If a request fails ( QUOTA , RATE LIMIT , or AUTH ), the plugin loads the next key from your configured chain. 3. The turn retries with the new key, and future requests continue with the working key. 🚀 Quick Start 1. Install the plugin 2. Configure via Web UI Navigate to Settings → Plugins → Key Rotation : 1. Toggle on rotation for your target provider. 2. Select your trigger codes (default: QUOTA , AUTH ). 3. Click Add ke…

在 GitHub 查看完整 README →
工具/开发ai-plugindeepseekdeepseek-harnessdeepseek-harness-plugindeepseek-harness-pluginsdshdsh-plugindsh-plugins

分类