🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
opt engineer2
hongjiongteng7538e715edd5
diff --git a/metagpt/actions/di/rewrite_code.py b/metagpt/actions/di/rewrite_code.pyindex 772a9ee99..0b00cd1b5 100644--- a/metagpt/actions/di/rewrite_code.py+++ b/metagpt/actions/di/rewrite_code.py@@ -41,8 +41,8 @@ class RewriteCode(Action):# Example of how to call the run method with a code snippet and documentationawait WriteCodeReview().run(code_path="/tmp/game.js",- design_doc="/tmp/design_doc.json",- task_doc="/tmp/task_doc.json"+ design_doc_path="/tmp/design_doc.json",+ task_doc_path="/tmp/task_doc.json")"""if not design_doc_path or not design_doc_path: