911218sky/dsh-llm-bounded-retry ↗★ 0
dsh-llm-bounded-retry
Bounded all-error request retry plugin for DeepSeek Harness
AI Analysis
核心用于接管DSH的LLM请求重试机制,提供带退避和抖动的有界全错误重试策略。适合在网络不稳定或API调用频频报错时,需要提高请求成功率的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:911218sky/dsh-llm-bounded-retryREADME
Read the full README ↗Configuration
| Key | Default | Description |
|---|---|---|
maxRetries | 5 | Retries after the initial attempt. 0 disables retry. |
retryableCodes | all | all, default, or an array of exact failure codes. |
initialDelayMs | 500 | Initial local backoff. |
maxDelayMs | 10000 | Maximum local backoff and accepted provider delay. |
jitterRatio | 0.1 | Symmetric jitter from 0 to 100 percent. |