async def async_add_message(self, key: str, message: ChatMessage) -> None:
        """Async version of Add a message for a key."""
        async with self._async_session() as session:
            await session.execute(
                insert(self._table_class),
                [{"key": key, "value": message.model_dump(mode="json")}],
            )
            await session.commit()
Async version of Add a message for a key.
llama-index-integrations/storage/chat_store/llama-index-storage-chat-store-sqlite/llama_index/storage/chat_store/sqlite/base.py