dsh-better-retry
Run the following command in DeepSeek Harness:
dsh plugin install leolee9086/dsh-better-retry
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install leolee9086/dsh-better-retry in the DeepSeek Harness terminal to install the plugin from https://github.com/leolee9086/dsh-better-retry , then reload the Host plugin or restart DSH.
About this plugin
In DeepSeek Harness, some upstream rate-limit responses are tagged as PI_AI_ERROR instead of RATE_LIMIT, so the built-in exponential back-off and retry pipeline never kicks in and users must resend requests by hand. dsh-better-retry reclassifies messages that match configured patterns into RATE_LIMIT, letting the existing DSH retry strategy take over seamlessly. The original request text and diagnostic context stay untouched, while retry count, back-off, and jitter remain governed by the provider settings.
The plugin offers two pattern-matching modes — full normalized match and contiguous-fragment match — and exposes two management entry points: the Settings page and an inline panel under each error row. You can add, disable, or delete patterns, and test whether a message hits an enabled rule using the same matcher that runs in the live stream. Two built-in safety rules are enabled by default to cover common rate-limit wording, and the plugin automatically rejects patterns containing authentication-failure, balance-exceeded, or cancellation semantics that should never be retried.
Best for developers running DSH Web locally or self-hosted who frequently hit upstream rate limits without automatic retry. It does not replace DSH retry executors; it only corrects the error-classification layer, making it a low-intrusion, long-running add-on for existing workflows.
Use Cases
- Upstream rate-limit responses tagged as PI_AI_ERROR are reclassified to RATE_LIMIT to trigger DSH retry
- Manage message matching patterns from the Settings page or inline error panel — add, disable, or delete rules
- Test whether a message hits an enabled rule using the same matcher that runs in the live stream
Best For
- Developers running local or self-hosted DSH Web who frequently hit upstream rate limits
- Integration teams that want to correct error classification without modifying the retry executor
- Operators who need a visual interface to manage and test retry matching rules
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.