Hello,
I have built a multi-agent system (or a team of agents). The issue I’m facing is that it doesn’t store the context of past messages for a specific user_id
and session_id
in any way.
In the single-agent mode, I set the read_chat_history
and add_history_to_messages
arguments to True
, which allowed the context to be stored in PostgreSQL. This way, every time we provided a prompt to the model, it could see the previous prompts and responses. However, this is not happening in the multi-agent mode.
Could you please guide me on how to achieve this?