Skip to main content

Add Memory / Conversation History

Right now each question is stateless. Add an optional conversation memory (e.g., past 3 Q&A pairs) in AgentState["messages"], and pass them to the LLM for better coherence.

Log in to comment and vote

No comments yet

Be the first to share your thoughts.