Assistants won't call functions, only User Proxy will #2392
Labels
0.2
Issues which are related to the pre 0.4 codebase
needs-triage
tool-usage
suggestion and execution of function/tool call
Describe the issue
Hello. I have one user proxy, with no functions registered to it. I have 3 different assistant agents, each one with their own functions registered. When I start my async chat, the user proxy sends a question to each of the assistant agents. The system prompt for each agent tells them to use a specific function to search on their own. Instead of doing that, each agent recommends a search function to the user proxy, which it of course does not have access to. How can I solve this issue? Using windows and GPT-4.
Steps to reproduce
self.user_proxy = autogen.UserProxyAgent(
name="user_proxy",
human_input_mode="NEVER",
max_consecutive_auto_reply=10,
is_termination_msg=self.is_termination_msg_func,
llm_config=self.llm_config_userproxy,
system_message="""End your last message with TERMINATE if the user's question has been answered at full satisfaction.
Otherwise, reply CONTINUE, with the reason why the task is not solved yet.
Please use CONTINUE sparingly, and only when you strongly feel that another search would retrieve more information that would
help answer the user's question.
DO NOT answer based on your own knowledge, ONLY answer using the data presented.
Remember, you may reply with TERMINATE, or CONTINUE with a reason why the task is not solved yet.
If an agent recommends a search to you, tell the agent to search themself, because you don't have access to any tunctions.""",
)
Screenshots and logs
Additional Information
No response
The text was updated successfully, but these errors were encountered: