agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

Every bash command takes 5 minutes

Open celangoni opened this issue 8 months ago • 3 comments

Hi everyone!

I'm starting out in this real estate brokerage and law master's program. Slow steps, slow learning.

One thing I've noticed is that every command execution takes 5 minutes, blocking the agent during this time.

In the code_execution plugin, I see that 5 minutes is the Max execution timeout.

Evaluating the logs (with docker logs -f container-name) I see a record /a0/plugins/_code_execution/tools/code_execution_tool.py:259: RuntimeWarning: coroutine 'Tool.set_progress' was never awaited every time a shell is called.

I don't know much about Python, so I'm asking, is this message expected? Could this message be related to the time it takes for the commands to complete?

If it's already a known problem, is there any way I can solve the slowness of the commands, as it makes the whole process very slow?

Thanks in advance

celangoni avatar Apr 02 '26 09:04 celangoni

hmm. which model are you using for utility? max execution timeout is just the maximum time it tries before it fails, not the time it takes to run a command.. But u should use a simple and fast utility model.. If you use a heavy model as utility it slows things down a lot..

Not sure about the log output though, is it always like that?

DoThatKarma avatar Apr 02 '26 21:04 DoThatKarma

Is alaways like that, shell, python, subagent, everything runs for 5 minutes before it continues. I'm using Qwen3.5-35B-A3B-4bit as main model and Qwen2.5-Coder-3B-Instruct-4bit as utility model. both running on oMLX on MAC M1.

using v1.6 docker agent-zero

Any thouthgs? =)

celangoni avatar Apr 02 '26 22:04 celangoni

I reinstalled everything a dozen times, and done a lot of tests. I updated oMLX to 0.3.1, and changed the main model to Qwen3.5-27B-4bit-DWQ, Utility Model Qwen3.5-0.8B-MLX-bf16 I also update agentzero to 1.7.0

I think now I achive a good performance and good replies.

I'll continue to run tests as I'm getting used to use the agent :)

celangoni avatar Apr 04 '26 05:04 celangoni