Closed Darkbelg closed 1 hour ago
Can you uninstall pyautogen
and install autogen-agentchat~=0.2
. I think this issue has been fixed in the latest version.
I named the file ollama because i was testing ollama... Apparently your not supposed to do that. I renamed it to ollama-test.py and now i have no errors. Thank you for the quick response @ekzhu
What happened?
Trying to use tool calling with ollama. My setup might be a bit strange. I have a docker image where i put all my python code in. I then have ollama installed outside of the docker. It works with conversations but the moment i introduce tools it gives me an error. And i can't figure out a fix. I am trying an adjusted calc tool call from the tutorial. When i try to run my script i get this:
What did you expect to happen?
The calculation tool to be called
How can we reproduce it (as minimally and precisely as possible)?
Here is the code i use. Some packages are part of other scripts. Dockerfile:
ollama.py:
AutoGen version
0.2.38
Which package was this bug in
Core
Model used
ollama qwen2.5-coder:14b
Python version
3-11
Operating system
ubuntu
Any additional info you think would be helpful for fixing this bug
No response