Repeated tool call detected

Issue Description

qodercli 调用lite/efficient ,经常报错 Repeated tool call detected

Steps to Reproduce

调用Playwright MCP执行一个测试任务,任务中需要反复执行 act->screenshot->think 的动作循环,但是并不存在完全重复的调用

Expected Behavior

仅当连续重复调用相同MCP/tool,返回相同结果的时候才应当被判定为Repeated tool call,且这个行为可以关闭,因为类似screenShot这样的行为入参和出参是相同的

Actual Behavior

行为逻辑无法理解,是在判断累计重复以相同参数调用MCP的次数吗?

Screenshots / Screen Recordings

{
“decision_reason”: “Repeated tool call detected: mcp__playwright__browser_snapshot was requested 5 recent times with identical input.”,
“decision_reason_type”: “repeatedToolCall”,
“message”: “Error: Repeated tool call requires confirmation, but no interactive permission prompt is available.”,
“subtype”: “permission_denied”,
“tool_name”: “mcp__playwright__browser_snapshot”,
“type”: “system”
}

Operating System

Current Qoder Version (Menu → About Qoder → Copy)

qodercli 1.0.48