def chat(
        self,
        query: str,
        chat_history: Optional[List[ChatMessage]] = None,
    ):
        """
        Perform a chat interaction with the vanilla agent.

        Args:
            query (str): The query to be processed.
            chat_history (Optional[List[ChatMessage]], optional): The chat history. Defaults to None.

        Returns:
            str: The response from the vanilla agent.

        """
        return self.vanilla_agent.chat(query, chat_history=chat_history)

        Perform a chat interaction with the vanilla agent.

        Args:
            query (str): The query to be processed.
            chat_history (Optional[List[ChatMessage]], optional): The chat history. Defaults to None.

        Returns:
            str: The response from the vanilla agent.

        
llama-index-packs/llama-index-packs-secgpt/llama_index/packs/secgpt/vanilla_spoke.py