Restoring chat history based on workflow with multiple agents - Mastra