async def achat(
        self, message: str, chat_history: Optional[List[ChatMessage]] = None
    ) -> AGENT_CHAT_RESPONSE_TYPE:
        """Async version of main chat interface."""
Async version of main chat interface.
llama-index-core/llama_index/core/chat_engine/types.py