MiMo-Code icon indicating copy to clipboard operation
MiMo-Code copied to clipboard

Agent 执行过程执行了 2 个 dart 脚本,卡死 2 次

Open zjmok opened this issue 5 months ago • 2 comments

Description

Agent 执行了 2 个 dart 脚本。执行第 1 个脚本时卡死,无法进行任何操作,Ctrl + C 无法中断,直接关闭终端,重新打开 mimo 然后 /resume 恢复执行 continue,继续执行第 2 个脚本时也卡死,依然只能关闭终端重新打开

Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

zjmok avatar Jun 12 '26 02:06 zjmok

同样的问题,这个卡死的几率比opencode更高。

Jieyi-Jiang avatar Jun 12 '26 05:06 Jieyi-Jiang

Agent freezing after executing the same script twice is a classic runaway loop — the agent retries without checking if the previous execution completed.

AgentAutopsy's Loop Detector catches this automatically — flags when the same tool is called repeatedly without progress and kills before the freeze.

github.com/Abhisekhpatel/AgentAutopsy pip install agentautopsy

Abhisekhpatel avatar Jun 13 '26 00:06 Abhisekhpatel