From 2a86d431df6ed0d8a62cf0d7a8d7818ea4d9db1f Mon Sep 17 00:00:00 2001 From: Aashan Khan Swati <95866340+aashankhan2981@users.noreply.github.com> Date: Tue, 27 Aug 2024 18:11:13 +0500 Subject: [PATCH] edit task bug fixed (#6) --- core/agents/developer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/agents/developer.py b/core/agents/developer.py index ac73864b48..e101c8dd46 100644 --- a/core/agents/developer.py +++ b/core/agents/developer.py @@ -335,7 +335,7 @@ class Developer(RelevantFilesMixin, BaseAgent): ) if user_response.button == "cancel" or user_response.cancelled: # User hasn't edited the task so we can execute it immediately as is - return True + return await self.ask_to_execute_task() self.next_state.current_task["description"] = user_response.text self.next_state.current_task["run_always"] = True