mrbeandev/dsh-reconnect ↗★ 0

dsh-reconnect

Safe model-request retry for DeepSeek Harness with exponential backoff, model-availability recovery, and configurable unknown-error limits. 适合需要应对网络波动、自动重试失败模型请求的任务。

パッケージ
dsh-reconnect
互換性
未検証
Harness ピア範囲
*
バージョン
2.0.0
ライセンス
MIT
最終更新
2026/09/20

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mrbeandev/dsh-reconnect

ドキュメント

README 全文を読む ↗

Configuration

- insert:
    - id: reconnect
      name: dsh-reconnect
      config:
        maxDelayMs: 15000
        retryQuota: false
        retryUnknown: true
        unknownMaxRetries: 3
SettingTypeDefaultDescription
maxDelayMsinteger60000Maximum local exponential-backoff delay in milliseconds
retryQuotabooleanfalseRetry quota or exhausted-balance errors indefinitely
retryUnknownbooleantrueRetry unknown error codes indefinitely
unknownMaxRetriesinteger3Consecutive unknown-error limit when retryUnknown is disabled

maxDelayMs limits only the local exponential delay. It does not cap a Provider Retry-After value or the total retry duration.