Open Nathan-Intergral opened 1 day ago
can you provide a script so we can reproduce this? Without knowing how you set up the group chat it is very hard for us to understand the source of the error.
From your description and stack trace. It seems that the order of messages in the group chat manager might have been scrambled. A tool call should be followed by a tool call result message.
What happened?
I have been experiencing intermittent errors in my group chat executions returning the following error:
This has started happening since i upgraded from pyautogen==0.2.26 to autogen-agentchat==0.2.36
Is there any solution to this as it is making my service very unstable?
What did you expect to happen?
Not to error out intermittently due to bad tool calls
How can we reproduce it (as minimally and precisely as possible)?
I am running a GroupChat instance with a single user proxy agent and a number of conversable agents using async tools and have auto set for speaker selection method.
It seems to happen more when running multiple threads executing the groupchat at once but that may just be coincidence
I am using gpt4o mini
AutoGen version
0.2.36
Which package was this bug in
AgentChat
Model used
gpt4o-mini
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response