dsh-key-rotation
为每个提供方维护 API Key 池并自动创建克隆路由,在配额或限流错误时切换到下一个 Key,主动探测冷却中的 Key 以便恢复,并在设置中提供 Key 池、冷却时间与切换状态码的编辑界面。
Keeps a pool of API keys per provider with auto-created clone routes, switches to the next key on quota or rate-limit errors, probes cooled keys for recovery, and exposes the pools, cooldown and switch codes in a Settings section.
怎么安装
dsh plugin add @goodandready/dsh-key-rotation 简介
📦 @goodandready/dsh-key-rotation --- ⚡ Overview **dsh-key-rotation** provides transparent, Hermes-style **per-provider API key rotation** for DeepSeek Harness (dsh). Instead of failing conversations on quota exhaustion or rate limits (HTTP 429), the plugin intercepts the request and instantly retries on the **next healthy key** in a per-provider pool before streaming chunks to the client. mermaid graph LR subgraph Incoming [LLM Request Turn] User[User / Agent Message] --> Adapter[pi-ai Adapter Route] end subgraph Interception [Key Rotation Engine] Adapter --> Hook[llm/stream Interceptor] Hook…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 2
- 月下载
- –
- 最近更新
- 2026-08-31
- 创建于
- 2026-08-18
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh, dsh-plugin
同类推荐
dsh-plugin-subscriptions
V1ki/dsh-plugin-subscriptions
把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。
dsh-commandcode-provider
Mars-Sea/dsh-commandcode-provider
非官方 Command Code 模型接入插件:注册 `commandcode` 路由,带实时模型目录与推理强度支持。
dsh-codex-connect
franksong2702/dsh-codex-connect
通过 ChatGPT OAuth 将 OpenAI Codex 模型接入 DeepSeek Harness,并提供可选的搜索与图片工具。
claude-code-router
musistudio/claude-code-router
每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。