dsh-omp-retry
OMP-style retry policies for the DeepSeek Harness: 429 rate limits and thinking-block binding rejections
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dsh-labs/dsh-omp-retryConfiguration
The defaults are maxRetries: 10, floorMs: 30000, and maxDelayMs: 300000
for rate limits and maxRetries: 5, initialDelayMs: 500, maxDelayMs: 8000,
jitterRatio: 0.25 for binding rejections. Override the row in the profile's
cordis.patch.yml:
- id: omp-rate-limit-retry
config:
maxRetries: 10
floorMs: 30000
maxDelayMs: 300000
thinkingBlock:
maxRetries: 5
initialDelayMs: 500
maxDelayMs: 8000
jitterRatio: 0.25
maxRetries: 0 disables the corresponding policy. Malformed values fail the
plugin load with a message naming the offending key instead of silently
disabling retries.
For fast non-429 retries, keep the provider policy close to OMP's local backoff:
retryPolicy:
mode: normal
maxRetries: 10
retryableCodes:
- EMPTY_RESPONSE
- RATE_LIMIT
- SERVER
- TIMEOUT
- TRANSPORT
backoff:
initialDelayMs: 500
maxDelayMs: 8000
jitterRatio: 0.25
Keeping RATE_LIMIT in the list is a fallback for when this bundle is removed;
while the bundle is active it takes 429s first.