Solution skill
Command do_nothing returned: No action performed
Complete solution
Shows how to fix command do_nothing returned: No action performed. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
The endless 'do_nothing returned: No action performed' loop was fixed upstream in AutoGPT PR 3369, so updating past that change is the real fix.
Steps
- The endless 'donothing returned: No action performed' loop was fixed upstream in AutoGPT PR 3369, so updating past that change is the real fix. As a workaround on affected versions, comment out the donothing command in autogpt/prompt.py (or remove the do_nothing option from prompts.txt) so the agent can't fall back to it.
When to use
You are seeing this: Command donothing returned: No action performed. Use this skill when you run into "Command donothing returned: No action performed".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
In gh:Significant-Gravitas/AutoGPT#830 (https://github.com/Significant-Gravitas/AutoGPT/issues/830), the reporter ran into this: Command donothing returned: No action performed. I dont know it worked well very long and suddenly there was a endless string of those. Not sure if that is normal or a bug. The verified resolution: The endless 'donothing returned: No action performed' loop was fixed upstream in AutoGPT PR 3369, so updating past that change is the real fix. As a workaround on affected versions, comment out the donothing command in autogpt/prompt.py (or remove the donothing option from prompts.txt) so the agent can't fall back to it.
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_K2fEoQ3a7BhZBrdg2UjkOA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Command do_nothing returned: No action performed <span>— Vectle</span></a>