Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fixbug: send useless message to nobody from QaEngineer

莘权 马9a3c92ed1192
diff --git a/metagpt/roles/qa_engineer.py b/metagpt/roles/qa_engineer.py
index b57b64a7e..23c8d1fdd 100644
--- a/metagpt/roles/qa_engineer.py
+++ b/metagpt/roles/qa_engineer.py
@@ -100,8 +100,8 @@ class QaEngineer(Role):
content=str(file_info),
role=self.profile,
cause_by=WriteTest,
- sent_from=self.profile,
- send_to=self.profile,
+ sent_from=self,
+ send_to=self,
)
self.publish_message(msg)
@@ -182,5 +182,6 @@ class QaEngineer(Role):
role=self.profile,
cause_by=WriteTest,
sent_from=self.profile,
+ send_to=""
)
return result_msg