-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SelectorGroupChat example does not work with o3-mini #5408
Comments
Text-based termination is too brittle. Likely we need some other verifiers to ensure behavior. Currently, we can advice that if a task is not completed, just run the team again with a new prompt to continue. |
Agreed. Maybe we just change the example slightly somehow. |
+1 with o3-mini I have a similar issue. |
@spirosoik have you tried to update the system message for the planner agent? Alternatively, I think you don't need to use a planner agent if your model is o3-mini. Remove the planner agent, and make sure you have customized your selector prompt following the latest documentation. |
@ekzhu I am following this https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/selector-group-chat.html which is confusing even with the selector prompt. Honestly what I did is to keep it as is without terminate in text and implement a a Judge agent who approves accordingly or not. |
Hmm okay. Looks like for o3 mini and reasoning models we need a different type of pattern. Why is it confusing can you elaborate? How can the doc be improved? Besides changing the pattern. |
Second this but with o1-mini - I get an error
The o family does not support system messages but developer messages. |
I just checked, and |
@mwarqee yes, we do have a note on AssistantAgent that for o1-preview and o1-mini we don't support system message. So in this case just don't use system message. |
@ekzhu - sorry if this question might have an obvious answer (i did not found it in the docs for class AssistantAgent), but what are options are available to pass instructions to the different AssistantAgent(s) ? Should we pass them as tasks? |
Yes, for o1-mini and o1-preview -- they just take the task. I believe this prompting guide is useful when it comes to prompting these types of models. https://techcommunity.microsoft.com/blog/azure-ai-services-blog/prompt-engineering-for-openai%E2%80%99s-o1-and-o3-mini-reasoning-models/4374010 |
For this issue. Let's focus on adding some explanation in the |
What happened?
SelectorGroupChat example does not work with o3-mini. The prompt we use has the agent very eager to TERMINATE after 1 round of thinking.
https://microsoft.github.io/autogen/stable//user-guide/agentchat-user-guide/selector-group-chat.html
What did you expect to happen?
For it to work like GPT-4o
How can we reproduce it (as minimally and precisely as possible)?
Run the example, but change the model to o3-mini
AutoGen version
0.4.5
Which package was this bug in
AgentChat
Model used
o3-mini
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response
The text was updated successfully, but these errors were encountered: