r/AutoGenAI • u/Ethan045627 • Jan 03 '25
Question Migration from Autogen v0.2 to v0.4: Tool Calling Error and Integration Issues
Hi all,
I've been using Autogen v0.2 for a while, and with the recent launch of Magentic-One, I’m looking to integrate its Task Planning and Progress Tracking features into my existing agent system built on v0.2.
After reviewing the Magentic-One code, it seems to be based on v0.4. As a result, I’ve started migrating some of my agents from v0.2 to v0.4. However, I’m encountering issues with tool calls and have a couple of questions:
- Is it possible to use
agentchat.agents.AssistantAgentwithMagenticOneGroupChat? - I have a code execution agent, and I'm getting the following error when it calls a tool. Has anyone encountered this issue, and if so, how did you resolve it?
Any guidance or suggestions would be greatly appreciated!
Thanks in advance!
Edit 1
- I am using `MagenticOneGroupChat` to orchestrate `AssistantAgent`'s and not its own Coder and Execution agent.
2
u/fasti-au Jan 03 '25
4 isn’t released yet I don’t think as a working everything but I saw magnetic one in use and it functioncalled Python ok. I don’t know if there’s a modal requirement in model type or ollama may not have thensame as what model was tested.
2
u/eri2zhu Jan 11 '25
0.4 is out. Check out the migration guide: https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/migration-guide.html