I am working on a streamlit application where there is one agent with a fixed knowledge base. There is a second agent who gets a document from the user and does an embedding. These two agents form a team and answer users questions. For example user may want the agents to check the uploaded document against the static knowledge base of the first agent. So as you can see the second agent has a dynamic knowledge base unlike the first agent.
Now the code has been working when I test just as a python code. But I want to create a chatbot like the Agentic Rag streamlit example with session management. In that scenario - if I load the team based on session ID - does that mean the agents have the same session ID? How should I make sure that the when loading a team by session - the appropriate sessions for the agents get loaded? I do not think currently I can assign the session Id explicitly while creating the agent.
Any guidance / suggestions will be appreciated.