🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
Add a confirmation message when the role finishes the task.
黄伟韬c192d6021244
diff --git a/metagpt/roles/di/role_zero.py b/metagpt/roles/di/role_zero.pyindex 001e2a4c8..f93122626 100644--- a/metagpt/roles/di/role_zero.py+++ b/metagpt/roles/di/role_zero.py@@ -214,7 +214,7 @@ class RoleZero(Role):self.rc.memory.add(UserMessage(content=outputs))return AIMessage(- content=f"Complete run with outputs: {outputs}",+ content=f"{self.name} has finished the task, mark it as finished. Complete run with outputs: {outputs}",sent_from=self.name,cause_by=RunCommand,)