ikta2010/dsh-loop-breaker ↗★ 0

dsh-loop-breaker

硬止损:同一工具+同一参数反复调用时中断本轮(补上 repeat-tool-reminder 只提醒不中断的缺口) 适合需要防止智能体陷入工具调用死循环以硬止损的用户。

Package
dsh-loop-breaker
Compatibility
Unverified
Harness peer range
>=0.0.1-rc.1 <0.1.0 || >=0.1.0-rc.1 <0.2.0-0
Cordis peer range
>=0.0.1-rc.1 <0.1.0 || >=0.1.0-rc.1 <0.2.0-0
Version
0.1.0
License
MIT
Last updated
Sep 18, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ikta2010/dsh-loop-breaker

配置

- id: loop-breaker
  name: 'dsh-loop-breaker'
  config:
    consecutiveLimit: 4      # 连续重复多少次硬止损
    totalLimit: 12           # 单轮内累计多少次硬止损
    include: []              # 只统计这些工具(空=全部)
    exclude: []              # 排除这些工具
    argumentsPreviewChars: 400