dsh-request-retry: Automatic Retry for Transient Model Request Failures

dsh-request-retry is a DSH plugin maintained by pachellber-marine, designed for users of OpenAI-compatible relay services such as one-api and newapi. It listens to the agent/request-error event; upon detecting transient failures—including no available channels, circuit-breaker trips, rate-limiting, or stream truncation—it matches against predefined Chinese and English keywords and resends the same request using exponential backoff. The retry reuses the existing rendering pipeline without re-triggering pre-step billing. Configuration is handled via cordis.patch.yml, supporting matchPatterns, backoff parameters, and an 8-hour total window. User cancellation halts retries immediately. Install ID: github:pachellber-marine/dsh-request-retry. MIT licensed.

Read More