def post_prompt(self, prompt: PromptGenerator) -> PromptGenerator:
        """This method is called just after the generate_prompt is called,
            but actually before the prompt is generated.
        Args:
            prompt (PromptGenerator): The prompt generator.
        Returns:
            PromptGenerator: The prompt generator.
        """
        if self.api:
            from .wolframalpha_search import _wolframalpha_search
            prompt.add_command(
                "wolframalpha_search",
                self._description,
                {"query": "<query>"},
                _wolframalpha_search,
            )
        return prompt
This method is called just after the generate_prompt is called,
            but actually before the prompt is generated.
        Args:
            prompt (PromptGenerator): The prompt generator.
        Returns:
            PromptGenerator: The prompt generator.
        
src/autogpt_plugins/wolframalpha_search/__init__.py