cglyvip/dsh-auto-continue ↗★ 0

dsh-auto-continue

DeepSeek Harness 插件:模型请求失败导致本轮停止时,自动切换兜底模型并注入「继续」,免手动干预。 适合希望在模型请求失败后自动切换兜底模型,并按配置继续任务的用户。

Package
dsh-auto-continue
Compatibility
Unverified
Version
0.1.1
License
MIT
Last updated
Sep 30, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cglyvip/dsh-auto-continue

配置

默认配置随包自带(cordis.patch.yml,经 package.json 的 dsh.bundle.patch 声明加载——插件管理器要求包声明这个字段,否则报"这个包没有声明组合包")。要覆盖个别字段(比如改兜底链),在 profile 的 cordis.patch.yml 里加同 id 条目即可,按层合并:

- id: auto-continue
  config:
    continueMax: 12
    fallbacks:
      - { provider: fengwind, model: deepseek-v4.1-flash }
      - { provider: fengwind, model: kimi-k3 }

各字段:enabled 总开关;autoContinue 自动续跑;continueText 注入的文本;continueMax 每会话继续次数上限(1-20);continueDelayMs 失败后等待毫秒数;autoSwitchModel 自动换模型;modelCooldownMs 失败模型冷却毫秒;maxTokensContinue max-tokens 也续;fallbacks 兜底链(provider+model 列表,按优先级排序)。不配置 fallbacks 时使用内置默认链(fengwind 的 6 个模型,不含 glm-5.3-flash)。