-
Currently, every agent has a complete list of all messages by all agents. I would like to have my agents store only certain messages: user_messages and own ones, but not those of the other agents. While I am pretty sure someone has asked something similar or there might even be an example notebook on how to do this, I was not able to find it. Maybe someone can point me into the right direction |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Can you give a more concrete example? Also what's your use case. If an agent A is participating in conversation with B and C, you'd want A to store its state with respect to B and C? |
Beta Was this translation helpful? Give feedback.
-
chat_messages store messages with each agent separately. For groupchat, each participant talks to the group chat manager directly and the messages sent by other participants are forwarded by the group chat manager. So the message list contains all the messages from each participant. You can filter them by the "name" field though. |
Beta Was this translation helpful? Give feedback.
chat_messages store messages with each agent separately. For groupchat, each participant talks to the group chat manager directly and the messages sent by other participants are forwarded by the group chat manager. So the message list contains all the messages from each participant. You can filter them by the "name" field though.