langchain/memory/buffer_window.py/ConversationBufferWindowMemory/buffer
class ConversationBufferWindowMemory:    def buffer(self) -> List[BaseMessage]:
        """String buffer of memory."""
        return self.chat_memory.messages