icyaaaww/dsh-tool-failure-circuit-breaker ↗★ 0
dsh-tool-failure-circuit-breaker
DeepSeek Harness plugin that blocks repeated identical failed tool calls
AI Analysis
核心用途是作为工具调用的熔断器,防止 Agent 陷入重复失败的死循环。适合需要频繁调用外部工具、且希望通过限制连续失败次数来节省 Token 消耗的自动化任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:icyaaaww/dsh-tool-failure-circuit-breakerREADME
Read the full README ↗Configuration
The included bundle inserts this row:
- id: tool-failure-circuit-breaker
name: dsh-tool-failure-circuit-breaker
config:
maxFailures: 2
include: []
exclude: []
errorPreviewChars: 300
maxFailures: completed identical failures allowed before the next attempt is denied. Default:2.include:*wildcard tool-name patterns to guard. Empty guards every tool.exclude:*wildcard tool-name patterns that bypass the guard.errorPreviewChars: maximum characters from the latest failure repeated in the denial. Default:300.
Use exclude for tools whose intended contract requires unchanged polling calls.