fixbug: sent_from, send_to

This commit is contained in:
莘权 马 2024-05-10 11:53:21 +08:00
parent 1e6e9d3103
commit 9fa47aff03
7 changed files with 19 additions and 18 deletions

View file

@ -76,7 +76,6 @@ class WriteDesign(Action):
+ list(self.repo.resources.seq_flow.changed_files.keys())
),
cause_by=self,
sent_from=self,
)
async def _new_system_design(self, context):

View file

@ -62,7 +62,6 @@ class WriteTasks(Action):
+ list(self.repo.resources.api_spec_and_task.changed_files.keys())
),
cause_by=self,
sent_from=self,
)
async def _update_tasks(self, filename):

View file

@ -94,7 +94,6 @@ class WritePRD(Action):
+ list(self.repo.resources.competitive_analysis.changed_files.keys())
),
cause_by=self,
sent_from=self,
)
async def _handle_bugfix(self, req: Document) -> Message:
@ -104,7 +103,6 @@ class WritePRD(Action):
return AIMessage(
content=f"A new issue is received: {BUGFIX_FILENAME}",
cause_by=FixBug,
sent_from=self,
send_to="Alex", # the name of Engineer
)