microsoft / autogen

A programming framework for agentic AI 🤖
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
34.1k stars 4.93k forks source link

'ConversableAgent' object has no attribute 'initiate_chats' #4077

Open navintkr opened 1 week ago

navintkr commented 1 week ago

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

ekzhu commented 1 week ago

Did you install autogen-agentchat? which version is it?

navintkr commented 6 days ago

i am using 0.2, i resolved this pproblem by lower my python from 3.13 to to 3.12