apocas/restai

Inquiry About Chat Loading Mechanism in ReAct Agent Code

mhsabu opened this issue · 0 comments

Hi,

I was going through your recent ReAct agent code. On my computer, this code cannot load chat history:

chat = self.brain.memories.loadMemory(project.model.name).loadChat(chatModel)

Could you please explain how this chat loading works in your code? Additionally, are you able to give the agent chat history when the agent is answering the next question?

Thank you!