async def set_messages(
        self,
        key: str,
        messages: List[ChatMessage],
        status: MessageStatus = MessageStatus.ACTIVE,
    ) -> None:
        """Set all messages for a key (replacing existing ones) with the specified status (async)."""
Set all messages for a key (replacing existing ones) with the specified status (async).
llama-index-core/llama_index/core/storage/chat_store/base_db.py