Can We Use Tools with GroupChat? #4488
-
I have been trying to Integrate Tools into agents that are in a groupchat. I have a groupchat defined of 3 Assistant agents. And I tried registering function for the user proxy and one of the agent in the groupchat. Code Snippet:
But I keep getting these errors:
The Chat happens properly till we reach the particular agent i registered it with. I have registered the function to user_proxy and one of the agent in manager following the docs provided in Autogen Documentation. Documentation that i followed Unfortunately, I couldnt find examples where tools was used in groupchat context, The examples i found too, They used @ decorators to register, So I went along with agentchat.register_function because i found that best for modular code. I even tried searching for alternatives, Came across ToolAssistantAgents but those are deprecated. I see that there is no question on tool usage along with groupchat, So maybe I am doing something wrong? Can someone guide me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You need to make sure the caller is not user proxy. If you are starting new, I recommend starting with the v0.4 AgentChat API, and take a look at the Teams available. https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/index.html
In v0.4, it is AssistantAgent. |
Beta Was this translation helpful? Give feedback.
You need to make sure the caller is not user proxy.
If you are starting new, I recommend starting with the v0.4 AgentChat API, and take a look at the Teams available. https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/index.html
In v0.4, it is AssistantAgent.