Skip to content

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

add qa engineer in startup

yzlin9ba18672c642
diff --git a/startup.py b/startup.py
index a4cebef78..fb11a73f0 100644
--- a/startup.py
+++ b/startup.py
@@ -11,7 +11,11 @@ from metagpt.software_company import SoftwareCompany
async def startup(idea: str, investment: float = 3.0, n_round: int = 5, code_review: bool = False):
"""Run a startup. Be a boss."""
company = SoftwareCompany()
- company.hire([ProductManager(), Architect(), ProjectManager(), Engineer(n_borg=5), QaEngineer()])
+ company.hire([ProductManager(),
+ Architect(),
+ ProjectManager(),
+ Engineer(n_borg=5, use_code_review=code_review),
+ QaEngineer()])
company.invest(investment)
company.start_project(idea)
await company.run(n_round=n_round)