Merge pull request #1054 from mannaandpoem/main_update_fix_bug

Update process for "Fix bug"
This commit is contained in:
Alexander Wu 2024-03-20 16:40:37 +08:00 committed by GitHub
commit adb42f44d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -240,8 +240,8 @@ class Engineer(Role):
async def _think(self) -> Action | None:
if not self.src_workspace:
self.src_workspace = self.git_repo.workdir / self.git_repo.workdir.name
write_plan_and_change_filters = any_to_str_set([WriteTasks])
write_code_filters = any_to_str_set([WriteTasks, WriteCodePlanAndChange, SummarizeCode, FixBug])
write_plan_and_change_filters = any_to_str_set([WriteTasks, FixBug])
write_code_filters = any_to_str_set([WriteTasks, WriteCodePlanAndChange, SummarizeCode])
summarize_code_filters = any_to_str_set([WriteCode, WriteCodeReview])
if not self.rc.news:
return None