Skip to content

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

update comment

hongjiongteng76f0d5aad825
diff --git a/metagpt/actions/di/rewrite_code.py b/metagpt/actions/di/rewrite_code.py
index ea093b36c..504ff72c8 100644
--- a/metagpt/actions/di/rewrite_code.py
+++ b/metagpt/actions/di/rewrite_code.py
@@ -39,7 +39,7 @@ class RewriteCode(Action):
Example Usage:
# Example of how to call the run method with a code snippet and documentation
- await WriteCodeReview().run(
+ await RewriteCode().run(
code_path="/tmp/game.js",
design_doc_input="/tmp/design_doc.json",
task_doc_input='{"Required packages":["No third-party dependencies required"], ...}'