def METHOD_NAME(self) -> str:
    steps: list[str] = []
    for i, c in enumerate(self.cycles, 1):
        step = f"### Step {i}: Executed `{c.action.format_call()}`\n"
        step += f'- **Reasoning:** "{c.action.reasoning}"\n'
        step += (
            f"- **Status:** `{c.result.status if c.result else 'did_not_finish'}`\n"
        )
        if c.result:
            if c.result.status == "success":
                result = str(c.result)
                result = "\n" + indent(result) if "\n" in result else result
                step += f"- **Output:** {result}"
            elif c.result.status == "error":
                step += f"- **Reason:** {c.result.reason}\n"
                if c.result.error:
                    step += f"- **Error:** {c.result.error}\n"
            elif c.result.status == "interrupted_by_human":
                step += f"- **Feedback:** {c.result.feedback}\n"
        steps.append(step)
    return "\n\n".join(steps)