Goal: Give the AI agent memory that is isolated and tied to specific user accounts.
Tasks:
Update the LangGraph state to accept a user_id parameter.
Implement a chat history repository in the agent-backend (or a fast store like Redis).
Upon a valid WebSocket connection (using the uid from Issue #13), load the user's past conversational context before sending the prompt to Groq.
Goal: Give the AI agent memory that is isolated and tied to specific user accounts.
Tasks:
Update the LangGraph state to accept a user_id parameter.
Implement a chat history repository in the agent-backend (or a fast store like Redis).
Upon a valid WebSocket connection (using the uid from Issue #13), load the user's past conversational context before sending the prompt to Groq.