From 8d1bc25defbb953f6a238b022ba49f883ae0364e Mon Sep 17 00:00:00 2001 From: Arnaud Gelas Date: Sat, 13 Jan 2024 14:49:50 +0100 Subject: [PATCH] Constrain the language for the qa_engineer The qa_engineer was generating chinese texts and comments while the rest of the project was in English. --- metagpt/roles/qa_engineer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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