feat: rewrite Engineer & WriteCode & WriteCodeReview

This commit is contained in:
莘权 马 2023-11-23 17:49:38 +08:00
parent 438fbe28c0
commit 2032a38542
7 changed files with 152 additions and 180 deletions

View file

@ -56,6 +56,7 @@ def main(
run_tests: bool = False,
implement: bool = True,
project_path: str = None,
reqa_file: str = None,
):
"""
We are a software startup comprised of AI. By investing in us,
@ -71,6 +72,7 @@ def main(
:return:
"""
CONFIG.WORKDIR = project_path
CONFIG.REQA_FILENAME = reqa_file
asyncio.run(startup(idea, investment, n_round, code_review, run_tests, implement))