dsh-auto-retry
Run the following command in DeepSeek Harness:
dsh plugin install Windsland52/dsh-auto-retry
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Windsland52/dsh-auto-retry in the DeepSeek Harness terminal to install this plugin from its GitHub source at https://github.com/Windsland52/dsh-auto-retry, then restart DSH to activate it.
About this plugin
When working with DSH, a certain class of failures is particularly confusing: the relay mislabels a recoverable transient 429 as QUOTA, or the model request appears to complete normally yet produces no visible output. The official dsh-llm-retry only handles errors declared by the provider itself; once it gives up, the request is a dead end. dsh-auto-retry is purpose-built for that gap; it does not replace the official retry, but steps in only after the provider policy has ended and clear evidence of recoverability exists, catching transient errors with bounded extra retries.
The plugin caps extra retries (max 8), total wait time (15 minutes), and auto-continuation per turn (max 2) within a configurable budget. For mislabeled QUOTA errors it triggers a retry only when the error detail contains signatures such as rate_limit_exceeded, rate limit, or allocated quota exceeded; genuine balance exhaustion, AUTH failures, and user cancellation are never retried. Backoff prefers the provider Retry-After header, falling back to jittered exponential backoff between 1.5 and 60 seconds. When a turn ends with no visible text or hits a max-tokens truncation, it auto-continues without disguising the continuation as a human message.
It suits DSH Web profile users who regularly hit relay-side transient rate-limit mislabels or silent empty responses. The plugin does not switch models or providers, does not mutate request content, and its events integrate cleanly with existing session replay and retry-status UIs. Only one plugin should own the global request-error retry budget per profile.
Use Cases
- Relay mislabels a transient 429 as QUOTA, killing the request
- Model request completes normally but returns no visible output
- Response truncated by max-tokens needs automatic continuation
Best For
- DSH Web profile users who frequently hit relay-side rate-limit mislabels
- Developers needing bounded recovery beyond the official retry policy
- Teams that want unified retry budget management without plugin conflicts
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.