langchain/memory/chat_message_histories/in_memory.py/ChatMessageHistory/add_message
class ChatMessageHistory:    def add_message(self, message: BaseMessage) -> None:
        """Add a self-created message to the store"""
        self.messages.append(message)