Add the ability for the AIContexProvider to keep previous messages in memory to increase the context for RAG search.