dsh-retry-plugin
Automatically retry the current DSH Web session when the AI access fails, so the conversation is never interrupted.
AI Analysis
核心用途是在网络或 AI 服务不稳定导致请求失败时自动进行重试。适合经常遇到 API 超时或连接失败,希望获得无缝、不间断对话体验的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jedzqer/dsh-retry-pluginREADME
Read the full README ↗配置
你可以直接在 DSH 界面中配置,无需手动改写代码:
- 打开 DSH Web 界面左下角的 设置 (Settings) -> 通用 (General)。
- 找到 AI 失败自动重试 (Auto Retry) 选项:
- 勾选或取消「启用」开关。
- 输入你期望的「最大重试次数」(例如 5 次或 10 次)。
- 设置立即生效,且会自动保存在浏览器本地。
(高级用法:也可以在浏览器的 DevTools Console 中通过 localStorage.setItem("dsh-retry.delayMs", "3000") 调整重试等待延时)