Why does nested_chats only inherit the last_msg of historical information and discord messages when nested_chats finish the task? #4132
smallQQ0227
started this conversation in
General
Replies: 2 comments
-
|
Thanks for the feedback. We will address this issue in the v0.4 version. Please stay turned. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Latest update from v0.4 preview: the SocietyofMindAgent is a built-in approach to nested chat. You can refer to its implementation and implement your own nested chat agent using custom agent: https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/tutorial/custom-agents.html Will be released in the upcoming dev12 release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ConversableAgent._get_chats_to_run() is responsible for passing the last message to nested_chats from the registered agents, after which the agents in nested_chats begin their conversation. However, there are two issues:
However, this method will print out all historical information when nested_chats starts the conversation, which is not aesthetically pleasing.
2、When the nested_chats finished the task and return the final result, the agents in the nested_chats will diacord all the history messages. This means that when nested_chats is triggered again (printing 'Starting a new chat'), we need to ensure that all important historical information is passed to nested_chats. Therefore, is there a way for the agents in nested_chats to retain memory, or to allow agents inside and outside of nested_chats to share the same message_pool?
Beta Was this translation helpful? Give feedback.
All reactions