Open ebeckner-looptech opened 3 months ago
running into the same issue. "messages" given to the group chat seem to just be completely ignored...
Did you set clear history to false when you use resume?
https://microsoft.github.io/autogen/0.2/docs/topics/groupchat/resuming_groupchat
Same. It ignores the given initial messages even if clear history
is set to False.
Is your feature request related to a problem? Please describe.
When using the AutoGen framework to manage group chats involving multiple agents, I encountered a limitation when attempting to resume a group chat. Specifically, I want to persist the conversation history from a previous group chat session and continue the conversation with the same or modified set of agents. However, when I use the GroupChatManager.resume method to resume a chat, the historical messages from the previous session are not injected into the new session. This results in the agents treating the resumed chat as a completely fresh conversation, ignoring any context from the previous chat session.
Currently, there is no built-in method to pass or persist historical messages directly between group chats, which limits the continuity of conversations across sessions.
I've noted that it is seemingly possible to inject messages within the
messages=
variable enumerated within groupchat. Nonetheless, passing a conversation history into this variable as a List[Dict] does not work. The agents simply ignore the previous conversation.Describe the solution you'd like
Ideally, it would be nice is the
manager.resume
permitted conversations from other group chats to persist into new ones, irrespective of the population of either group.An alternative fix to this issue might be to fix the issue with the
messages=
variable not being used/initialized when the groupchat begins.I have not looked into source code, so I apologize for my ignorance on these matters.
Additional context
It would be lovely if this worked:
Currently, the new_messages are ignored:
alice (to chat_manager):
What was my first message to you?
Next speaker: bob
bob (to chat_manager):
Your first message to me was: "What was my first message to you?"