xalor888/dsh-unlimited-retry ↗★ 3

dsh-unlimited-retry

为智能体运行循环提供无限制的模型请求重试。 适合需要应对网络波动、自动重试失败模型请求的用户。

套件
dsh-unlimited-retry
相容性
待驗證
版本
2.4.0
授權
MIT
最近更新
2026年10月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xalor888/dsh-unlimited-retry

Configuration

Edit the config block on the unlimited-retry row, or use the panel. An override anywhere above the bundle patch replaces the whole config, so a layer that overrides this row must restate every field it wants to keep.

The plugin also exports a Config schema, so its fields appear in Config.listConfigs and are validated by the Loader.

FieldTypeDefaultPurpose
autoRetrybooleantrueTurn off to leave every failure to the loop
maxAttemptsnumber | nullnullCap per step; null/empty means no limit
initialDelayMsnumber1000First backoff delay; clamped by the ceiling
maxDelayMsnumber60000Single-delay ceiling; wins any conflict
jitterRationumber0.2Randomization per delay (0–1)
retryWithoutProviderPolicybooleantrueAlso retry when the adapter published no policy
excludeCodesstring[][]Terminal codes (case/whitespace-insensitive)
recordSessionEventsbooleantrueAppend llm/retry / llm/retry-started
logbooleantrueWrite retry decisions to the DSH log
markerFilestring | nullnullOptional mount-probe path (diagnostics)