GroupChat Messages not working? #2518
Unanswered
WebsheetPlugin
asked this question in
Q&A
Replies: 2 comments 1 reply
-
user_proxy.initiate_chat(manager, clear_history=False) This is how all examples use group chat. Can you describe what is the issue you are facing? What is not working? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I refer to "messages" parameter. I am not able to make it work in any way. There is no example of using the "messages" parameter. I don't think this works. Or I don't know how it's supposed to work.. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0.2.26
messages = [{'content': 'what can you do?', 'role': 'user', 'name': 'USER'}, {'content': 'I can do the following tasks...', 'role': 'assistant', 'name': 'USER'}, {'role': 'user', 'content': 'what does 3?', 'name': 'USER'}]
groupchat = autogen.GroupChat(
agents=[agent1, agent2],
messages=messages,
max_round=12,
speaker_selection_method=self.custom_speaker_selection_func,
)
manager = autogen.GroupChatManager(groupchat=groupchat)
I tried:
manager.initiate_chat(user_proxy, clear_history=False)
and
user_proxy.initiate_chat(manager, clear_history=False)
I have tried many ways but I can not make messages work inside groupchat. Only way for me currently is to use transform messages.
Also manager.run_chat() is an mystery to me. As it is also not working and has no working example onlinne.
Beta Was this translation helpful? Give feedback.
All reactions