edit task bug fixed (#6)

pull/1149/head^2
Aashan Khan Swati 2 years ago committed by GitHub
parent a405a033ac
commit 2a86d431df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save