Open JoaoPito opened 1 month ago
The agent loses the conversation history when the app stops, history is only located in memory and is limited to the last 20 messages. Use something like SQLite to persist memory locally in a DB.
https://python.langchain.com/v0.1/docs/expression_language/how_to/message_history/
The agent loses the conversation history when the app stops, history is only located in memory and is limited to the last 20 messages. Use something like SQLite to persist memory locally in a DB.