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

TypeError: argument of type 'NoneType' is not iterable Tr...

Open crazy2705 opened this issue 8 months ago • 4 comments

Using Ollama and Qwen3.5:9b

When I request a job often I get this: TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last): Traceback (most recent call last): File "/a0/agent.py", line 490, in monologue tools_result = await self.process_tools(agent_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/a0/agent.py", line 867, in process_tools if ":" in raw_tool_name: ^^^^^^^^^^^^^^^^^^^^

Before this error I get a lot of A0: Message misformat, no valid tool request found.

How can I control them ?

crazy2705 avatar Mar 06 '26 08:03 crazy2705

@crazy2705 Are you running at least Ollama v0.17.6?

slamj1 avatar Mar 09 '26 05:03 slamj1

i get this error too. Ollama Version v0.17.7

with my other machine on v0.17.5 there is no problem.

i use qwen3.5:35b

nueve9 avatar Mar 12 '26 15:03 nueve9

Im having same issue. Using ollama 0.18.

Archaeus6 avatar Mar 28 '26 23:03 Archaeus6

Closing due to inactivity of 90 days.

github-actions[bot] avatar Jun 27 '26 04:06 github-actions[bot]