@aiwayds/dsh-llm-net-retry
dsh plugin: bounded retry for gateway network_error failures the stock retry policy cannot classify (e.g. OpenCode Zen finish_reason: network_error)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fan56/dsh-llm-net-retry说明文档
阅读完整 README ↗配置
dsh-llm-net-retry:
mode: on # 'off' 完全摘除 listener
maxRetries: 5
backoff:
initialDelayMs: 500
maxDelayMs: 10000
jitterRatio: 0.1
(~/.dsh/settings.yaml 里按插件 id 加段,与其他插件同机制。)
未知 key 报错。默认值对齐 llm-retry 原生策略(5 次重试、500 ms→10 s 指数退避、对称抖动 0.1)。