Skip to content

Commit

Permalink
Constrain the language for the qa_engineer
Browse files Browse the repository at this point in the history
The qa_engineer was generating chinese texts and comments while the rest
of the project was in English.
  • Loading branch information
arnaudgelas committed Jan 13, 2024
1 parent da87e6a commit 8d1bc25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metagpt/roles/qa_engineer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d1bc25

Please sign in to comment.