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