Skip to content

Commit f11e671

Browse files
authored
Merge pull request #1573 from voidking/main
bugfix: At least 8 rounds are required to run all QA actions
2 parents f0a9042 + 7464b9f commit f11e671

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

metagpt/software_company.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def generate_repo(
6060

6161
if run_tests:
6262
company.hire([QaEngineer()])
63+
if n_round < 8:
64+
n_round = 8 # If `--run-tests` is enabled, at least 8 rounds are required to run all QA actions.
6365
else:
6466
stg_path = Path(recover_path)
6567
if not stg_path.exists() or not str(stg_path).endswith("team"):

0 commit comments

Comments
 (0)