def _get_steps(self) -> Dict[str, Callable]:
        """Returns all the steps from the prebuilt workflow."""
        from llama_index.core.agent.workflow import AgentWorkflow

        instance = AgentWorkflow(agents=[self])  # type: ignore
        return instance._get_steps()
Returns all the steps from the prebuilt workflow.
llama-index-core/llama_index/core/agent/workflow/single_agent_workflow.py