911218sky/dsh-llm-bounded-retry ↗★ 0
dsh-llm-bounded-retry
用于 DeepSeek Harness 的有界全错误请求重试插件。
AI 分析
核心用于接管DSH的LLM请求重试机制,提供带退避和抖动的有界全错误重试策略。适合在网络不稳定或API调用频频报错时,需要提高请求成功率的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:911218sky/dsh-llm-bounded-retry說明文件
閱讀完整 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. |