I am rebuilding the chat mechanism from scratch to give the AI memory.Last time, I tackled the issue where memory change ...