Saves the context of the chat, including user input, AI output, and intermediate steps. Prunes the chat history if the total token count exceeds the maximum limit.
Input values.
Output values.
Promise that resolves when the context has been saved.
Generated using TypeDoc
Memory used to save agent output and intermediate steps.