GooDAnDReaDY/dsh-key-rotation

GooDAnDReaDY★ 0JavaScript最后同步: 2026-08-19

在 GitHub 打开

Per-provider API key rotation for DeepSeek Harness: a key pool per provider, automatic switch to the next key on quota or rate-limit failures, with live key status in the Web UI

README 摘要

dsh-key-rotation Per-provider API key rotation for DeepSeek Harness (dsh). Instead of failing on a quota/rate-limit error, the plugin transparently retries the request on the next healthy key in a per-provider pool. Hermes-style rotation: every configured provider has a key pool; when a key's limit is exhausted, the request is retried on the next key. Exhausted keys stay in cooldown and return to rotation after cooldownMs . What it does - Key pools per provider — list the API keys (as credential/env names) that a provider may rotate through. - The provider you picked stays the provider — rotation swaps the key, never the route, so a multi-call turn does not break. Legacy clone routes remain registered but are hidden from the model dropdown. - Transparent on-failure rotation — on a switchable error ( QUOTA , RATE LIMIT , AUTH / INVALID …) the request is retried on the next key. - Cooldown — an exhausted key is skipped for cooldownMs , then returns. - Dead/revoked key handling — an auth/invalid key rotates to the next pool key instead of erroring out. - Settings GUI — a Settings → Key Rotation section to manage everything without touching config files: - add a key in one place — pres…

在 GitHub 查看完整 README →
皮肤/UIdeepseek-harnessdshdsh-pluginweb ui

分类