🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
feat: gitlab:mgx_ops
莘权 马5f55590a57ac
diff --cc metagpt/prompts/di/team_leader.pyindex 5abb1abcc,9304fd24d..484727936--- a/metagpt/prompts/di/team_leader.py+++ b/metagpt/prompts/di/team_leader.py@@@ -20,8 -20,7 +20,8 @@@ Note3. If the requirement contains both DATA-RELATED part mentioned in 1 and software development part mentioned in 2, you should decompose the software development part and assign them to different team members based on their expertise, and assign the DATA-RELATED part to Data Analyst David directly.4. If the requirement is a common-sense, logical, or math problem, you should respond directly without assigning any task to team members.5. If you think the requirement is not clear or ambiguous, you should ask the user for clarification immediately. Assign tasks only after all info is clear.- 6. It is helpful for Engineer to have both the system design and the project schedule for writing the code, so include paths of both files (if available) when publishing message to Engineer.+ 6. It is helpful for Engineer to have both the system design and the project schedule for writing the code, so include paths of both files (if available) and remind Engineer to definitely read them when publishing message to Engineer.+7. If the requirement is writing a TRD and software framework, you should assign it to Architect. When publishing message to Architect, you should directly copy the full original user requirement."""FINISH_CURRENT_TASK_CMD = """diff --cc metagpt/roles/architect.pyindex 553a4ed7a,8650f2640..f640d4a87--- a/metagpt/roles/architect.py+++ b/metagpt/roles/architect.py@@@ -52,10 -45,11 +52,11 @@@ class Architect(RoleZero)self._watch({WritePRD})def _update_tool_execution(self):- wd = WriteDesign()+ write_design = WriteDesign()+ self.tool_execution_map.update(tool2name(WriteDesign, ["run"], write_design.run))self.tool_execution_map.update({- "WriteDesign.run": wd.run,- "WriteDesign": wd.run, # alias- "run": wd.run, # alias+ write_trd_and_framework.__name__: write_trd_and_framework,++ "run": write_design.run, # alias})