getMemory still not working in TDAgentMemory