DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-retry-policy-settings

d

dsh-retry-policy-settings

Manifest valid

Settings UI for DeepSeek Harness (DSH) to edit each model provider's request retryPolicy — mode (normal/always), maxRetries, retryableCodes and exponential-backoff parameters — written to settings.yaml and applied by dsh-llm-retry. Model retry policy settings: Visually edit the API request failure retry policy for each model provider in the settings panel.

UI (client)hasBundlePatch

dsh-retry-policy-settings

DeepSeek Harness (DSH) 插件 · 模型重试策略设置

在 DSH Web 设置面板中可视化编辑每个模型提供方的 API 请求失败重试策略(retryPolicy)——重试模式、重试次数、可重试错误码与指数退避参数,写入 settings.yaml 后由官方 @deepseek-ai/dsh-llm-retry 插件即时生效(热重载,无需重启)。

Keywords: DeepSeek Harness · dsh · dsh-plugin · cordis · plugin · llm · retry · retry-policy · retries · backoff · maxRetries · settings · 模型重试 · 重试策略 · DSH 插件

功能

  • 自动读取所有已注册的模型提供方(自定义 OpenAI 兼容 API、DeepSeek 官方等)
  • 编辑提供方 retryPolicy 的全部可选字段(文件里没写、但有默认值的字段也会显示并可直接设置):
    • mode:normal(有限重试,默认)/ always(无限重试直到成功/取消)
    • maxRetries:失败后最大重试次数(默认 2,仅 normal)
    • retryableCodes:可重试错误码(默认 EMPTY_RESPONSE, RATE_LIMIT, SERVER, TIMEOUT, TRANSPORT,仅 normal)
    • backoff.initialDelayMs(默认 500)/ backoff.maxDelayMs(默认 10000)/ backoff.jitterRatio(默认 0.1)
  • 一键"移除并恢复默认",回到 dsh-llm-retry 的默认行为
  • 中文 / English 自动跟随 DSH 全局语言切换
  • 深色 / 浅色主题自适应(使用 DSH 主题 token)

安装

通过 GitHub 安装到你的 DSH profile(推荐,发布即用):

dsh plugin --profile web add "github:guanosine-diphosphate/dsh-retry-policy-settings#main"

或本地安装(克隆仓库后):

dsh plugin --profile web add "file:./dsh-retry-policy-settings"

安装后把 dsh-retry-policy-settings 加入 profile 的 dsh.profile.bundles(<profile>/package.json),重启 Web UI 即可在 设置 → 模型重试策略 看到设置页。

使用

  1. 打开 DSH Web UI → 左下角 设置
  2. 点击 模型重试策略(英文界面显示 Model Retry Policy)
  3. 选择提供方,调整模式与参数,点 保存

写入位置(取决于提供方所属适配器):

提供方类型settings.yaml 路径
自定义 / pi-ai 提供方(如 scnet)llm-pi-ai.providers.<id>.retryPolicy
DeepSeek 官方(deepseek-official)llm-deepseek.retryPolicy

工作原理

  • 通过 DSH 统一 API(connection.api.llm.providers + connection.api.settings)自动发现提供方并读写配置,无需额外 Host 服务
  • 与官方 dsh-llm-retry 的 RetryPolicySchema 严格一致:always 模式下 maxRetries/retryableCodes 字段被禁用(schema 不允许)
  • 依赖官方插件 @deepseek-ai/dsh-llm-retry(DSH 默认已启用,无需单独安装)

依赖

  • DeepSeek Harness ≥ 0.1.0-rc.x(Web profile)
  • @deepseek-ai/dsh-llm-retry(官方 bundle 自带)

开发

# 结构
lib/index.js   # host 占位行(插件主体在 client)
lib/client.js  # 浏览器端(web bundle 格式,纯 JS,无构建步骤)
cordis.patch.yml

lib/client.js 为可直接分发的 web-bundle 格式(window.__ModuleLoader__.load),修改后无需构建。

License

MIT © guanosine-diphosphate

相关

Comments

Loading…

From the same category

open-design

by nexu-io

🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards,

Development & InfrastructureTerminal & ClientsUI & ExperienceManifest valid

★ 98.5k

Apache-2.0

TypeScript

Sep 28, 2026

Index only — not installable

by Molunerfinn

:rocket: The Ultimate Image Uploader for Efficient Creators. Supports Obsidian, Typora, VS Code etc. and 60+ image hosting services (S3, GitHub, Cloudflare R2, Imgur, Aliyun OSS...). Paste, upload, d

Terminal & ClientsVision & Multimodal

★ 27.3k

MIT

TypeScript

Sep 24, 2026

Index only — not installable

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

Tools & CapabilitiesTerminal & ClientsDevelopment & InfrastructureModels & ProvidersUI & ExperienceManifest valid

★ 8.1k

Apache-2.0

TypeScript

Sep 28, 2026

dsh plugin --profile web add dsh-web

by YaoApp

✨ All your agents and workspaces in one place, on every device you own. Track tasks on a board, accessible from desktop, mobile, browser, or API. Self-hosted.

Terminal & Clients

★ 8k

Go

Sep 28, 2026

Index only — not installable

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

Terminal & ClientsUI & ExperienceWorkflow & AutomationManifest valid

★ 3.9k

↓ 51.6k/wk

MIT

TypeScript

Sep 28, 2026

dsh plugin --profile web add dsh-better-sidebar

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsUI & ExperienceManifest valid

★ 3.7k

↓ 8.2k/wk

MIT

TypeScript

Sep 28, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui