Skip to content

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

fixbug: send useless message to nobody from QaEngineer

莘权 马3e8bba70bcd2
diff --git a/metagpt/roles/qa_engineer.py b/metagpt/roles/qa_engineer.py
index 23c8d1fdd..59a4135b8 100644
--- a/metagpt/roles/qa_engineer.py
+++ b/metagpt/roles/qa_engineer.py
@@ -146,8 +146,8 @@ class QaEngineer(Role):
content=file_info,
role=self.profile,
cause_by=DebugError,
- sent_from=self.profile,
- send_to=recipient,
+ sent_from=self,
+ send_to=self,
)
self.publish_message(msg)
@@ -158,6 +158,7 @@ class QaEngineer(Role):
role=self.profile,
cause_by=WriteTest,
sent_from=self.profile,
+ send_to=""
)
return result_msg