Yaing-Yan/dsh-better-retry0

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次),并对任何错误码均执行指数退避重试。

パッケージ
dsh-better-retry
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/08/21

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yaing-Yan/dsh-better-retry

ドキュメント

README 全文を読む ↗

🎚 Configuration / 配置

WhereWhatDefaultRange
Settings → General → 失败重试次数dsh-better-retry.maxRetries80–64
~/.dsh/settings.yamldsh-better-retry:maxRetriessame, hand-editable80–64
  • 0 disables 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 policyKey embeds the budget).
  • Backoff: 500 ms initial, doubling, 10 s cap, ±10% jitter; a provider Retry-After within the cap overrides the computed delay, above the cap the retry is skipped.