Skip to content

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

Constrain the language for the qa_engineer

Arnaud Gelas8d1bc25defbb
diff --git a/metagpt/roles/qa_engineer.py b/metagpt/roles/qa_engineer.py
index b1d06d122..81082ef59 100644
--- a/metagpt/roles/qa_engineer.py
+++ b/metagpt/roles/qa_engineer.py
@@ -36,7 +36,8 @@ class QaEngineer(Role):
profile: str = "QaEngineer"
goal: str = "Write comprehensive and robust tests to ensure codes will work as expected without bugs"
constraints: str = (
- "The test code you write should conform to code standard like PEP8, be modular, " "easy to read and maintain"
+ "The test code you write should conform to code standard like PEP8, be modular, easy to read and maintain."
+ "Use same language as user requirement"
)
test_round_allowed: int = 5
test_round: int = 0