mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-10 13:37:55 -05:00
Fix bugs related to quick implementation flow and redo flow
This commit is contained in:
@@ -336,11 +336,12 @@ class Developer(ChatWithBreakdownMixin, RelevantFilesMixin, BaseAgent):
|
||||
"task_index": task_index,
|
||||
}
|
||||
)
|
||||
await self.send_message(f"Starting task #{task_index} with the description:\n\n" + description)
|
||||
await self.send_message(f"Starting task #{task_index} with the description:\n\n{description}")
|
||||
if self.current_state.run_command:
|
||||
await self.ui.send_run_command(self.current_state.run_command)
|
||||
|
||||
if self.next_state.current_task.get("redo_human_instructions", None) is not None:
|
||||
await self.send_message(f"Additional feedback: {self.next_state.current_task['redo_human_instructions']}")
|
||||
return True
|
||||
|
||||
if self.current_state.current_task.get("quick_implementation", False):
|
||||
|
||||
@@ -89,6 +89,8 @@ class Orchestrator(BaseAgent, GitMixin):
|
||||
branch_id=project_state.branch_id, step_index=project_state.step_index
|
||||
)
|
||||
await self.state_manager.restore_files()
|
||||
self.current_state.epics[-1]["completed"] = False
|
||||
self.next_state.epics[-1]["completed"] = False
|
||||
self.next_state.current_task["redo_human_instructions"] = redo_human_instructions
|
||||
|
||||
await self.update_stats()
|
||||
|
||||
Reference in New Issue
Block a user