def _finalize_task(self, state: Dict[str, Any], **kwargs: Any) -> None:
        """
        Finalize task, after all the steps are completed.

        State is all the step states.

        """

        Finalize task, after all the steps are completed.

        State is all the step states.

        
llama-index-core/llama_index/core/agent/custom/simple.py