Yaing-Yan/dsh-better-retry ↗★ 0
dsh-better-retry
DSH (DeepSeek Harness) Cordis plugin: retry ANY model-request failure (any error code) with exponential backoff — retry budget adjustable from Settings → General via a slider (0–64, default 8).
AI 分析
核心用途是强力应对各种 API 报错。适合网络极不稳定或频繁遭遇限频的用户,支持在通用设置中通过滑块调节重试次数(0-64次),并对任何错误码均执行指数退避重试。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yaing-Yan/dsh-better-retryドキュメント
README 全文を読む ↗🎚 Configuration / 配置
| Where | What | Default | Range |
|---|---|---|---|
| Settings → General → 失败重试次数 | dsh-better-retry.maxRetries | 8 | 0–64 |
~/.dsh/settings.yaml → dsh-better-retry: → maxRetries | same, hand-editable | 8 | 0–64 |
0disables the any-code retry entirely (stock policy still applies).- Changes apply to the next failure; an in-flight retry chain keeps the budget it started with (the chain's
policyKeyembeds the budget). - Backoff: 500 ms initial, doubling, 10 s cap, ±10% jitter; a provider
Retry-Afterwithin the cap overrides the computed delay, above the cap the retry is skipped.