dsh-reconnect:DSH 模型请求安全重试与网关恢复

dsh-reconnect 是 mrbeandev 维护的 DeepSeek Harness 模型推理插件。它在 agent/request-error 瀑布流上,于 Provider 内置重试用尽后对 EMPTY_RESPONSE、RATE_LIMIT、TIMEOUT 等可恢复错误做指数退避重试,支持 Retry-After、会话事件与 UI 倒计时。可通过 dsh plugin --profile web add dsh-reconnect 安装,并在设置面板或 YAML 中配置 maxDelayMs、retryQuota、retryUnknown 等项。适用于 web profile 下的长任务与智能体场景。

Read More
dsh-reconnect: Secure Retry Plugin for DeepSeek Harness Model Requests

dsh-reconnect is a Host-side plugin for DeepSeek Harness (DSH) designed to automatically retry model requests when failures occur due to temporary network or service issues. It listens for the `agent/request-error` event and takes over after the built-in retry strategy fails. For recoverable issues such as rate limiting, timeouts, 5xx errors, and disconnections, it employs an exponential backoff algorithm to resend requests, thereby preventing the interruption of agent steps. The plugin supports configuring a local backoff cap (default 60s) and prioritizes respecting the Provider's `Retry-After` directive. For quota exhaustion (QUOTA), retrying is disabled by default; unknown errors retry infinitely by default (configurable limit), while unrecoverable errors such as authentication failures and invalid parameters terminate immediately. The plugin provides a unified settings card and YAML configuration.

Read More