Open navintkr opened 1 week ago
I am following this article - https://microsoft.github.io/autogen/0.2/docs/tutorial/conversation-patterns#sequential-chats but I get error message 'ConversableAgent' object has no attribute 'initiate_chats'
Initiate chat should allow an array of elements
chat_results = number_agent.initiate_chats( [ { "recipient": adder_agent, "message": "14", "max_turns": 2, "summary_method": "last_msg", }, { "recipient": multiplier_agent, "message": "These are my numbers", "max_turns": 2, "summary_method": "last_msg", }, { "recipient": subtracter_agent, "message": "These are my numbers", "max_turns": 2, "summary_method": "last_msg", }, { "recipient": divider_agent, "message": "These are my numbers", "max_turns": 2, "summary_method": "last_msg", }, ] )
Just follow the document - https://microsoft.github.io/autogen/0.2/docs/tutorial/conversation-patterns#sequential-chats
0.4
Core
gpt-4o
Python 3.13.0
Windows 11
No response
Did you install autogen-agentchat? which version is it?
autogen-agentchat
i am using 0.2, i resolved this pproblem by lower my python from 3.13 to to 3.12
What happened?
I am following this article - https://microsoft.github.io/autogen/0.2/docs/tutorial/conversation-patterns#sequential-chats but I get error message 'ConversableAgent' object has no attribute 'initiate_chats'
What did you expect to happen?
Initiate chat should allow an array of elements
chat_results = number_agent.initiate_chats( [ { "recipient": adder_agent, "message": "14", "max_turns": 2, "summary_method": "last_msg", }, { "recipient": multiplier_agent, "message": "These are my numbers", "max_turns": 2, "summary_method": "last_msg", }, { "recipient": subtracter_agent, "message": "These are my numbers", "max_turns": 2, "summary_method": "last_msg", }, { "recipient": divider_agent, "message": "These are my numbers", "max_turns": 2, "summary_method": "last_msg", }, ] )
How can we reproduce it (as minimally and precisely as possible)?
Just follow the document - https://microsoft.github.io/autogen/0.2/docs/tutorial/conversation-patterns#sequential-chats
AutoGen version
0.4
Which package was this bug in
Core
Model used
gpt-4o
Python version
Python 3.13.0
Operating system
Windows 11
Any additional info you think would be helpful for fixing this bug
No response