masknull/dsh-llm-resilience0

dsh-llm-resilience

A configuration card in the DSH Web UI for tuning LLM request retry policy and stream idle timeout (retry mode, max retries, retryable codes, backoff, jitter, timeout).

包名
dsh-llm-resilience
版本
0.1.0
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:masknull/dsh-llm-resilience

Configuration

All fields are optional; blank = provider default.

FieldDefaultMeaning
Retry modenormalnormal retries only eligible failure codes; always retries every failure.
Max retries5Eligible retries after the first request (normal mode).
Retryable codesEMPTY_RESPONSE,RATE_LIMIT,SERVER,TIMEOUT,TRANSPORTComma-separated failure codes eligible for retry (normal mode).
Initial backoff (ms)500First local backoff delay before retrying.
Max backoff (ms)10000Ceiling for scheduled or provider-requested retry delay.
Jitter ratio0.1Symmetric random multiplier (0..1) around each backoff delay.
Stream idle timeout (ms)300000Max provider idle time while one stream read is outstanding.