imcaibaicai/dsh-auto-continue-inturn ↗★ 1
dsh-auto-continue-inturn
DSH companion plugin: silently continue within the same turn when the model is truncated by max-tokens, instead of stopping and asking the user to send 继续 适合经常运行长文本输出任务、不希望手动发送“继续”的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:imcaibaicai/dsh-auto-continue-inturnドキュメント
README 全文を読む ↗配置
写在 profile 的 cordis.patch.yml 该条目 config 下:
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 关掉后完全不注册行为 |
maxInTurn | 5 | 单轮最多自动续写次数(正整数) |
idleGiveUp | 2 | 连续多少次「续了但毫无产出」就停手;0 关闭空转防护 |
text | 见下 | 续写提示词 |
summary | 自动续写:紧接上文继续 | 消息 source.summary,会话记录里可审计 |
log | true | 是否输出 [dsh-auto-continue-inturn] 日志 |
默认 text:
上条回复因达到输出 token 上限被截断,请紧接末尾无缝继续输出,禁止重复上文。
非法配置一律 fail loud(抛错,而不是静默退回默认值)——配置写错时你立刻知道,而不是在长任务里发现行为不对。