def _add_msgs_to_client_memory(self, messages: List[ChatMessage]) -> None:
        """Add new user and assistant messages to client memory."""
        self.add(
            messages=convert_chat_history_to_dict(messages),
            **self.context.get_context(),
        )
Add new user and assistant messages to client memory.
llama-index-integrations/memory/llama-index-memory-mem0/llama_index/memory/mem0/base.py