Skip to content

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

WriteCodeReview 添加确认review完成的消息

黄伟韬f4204b4beb43
diff --git a/metagpt/actions/write_code_review.py b/metagpt/actions/write_code_review.py
index e72fe5cd1..f49ef178f 100644
--- a/metagpt/actions/write_code_review.py
+++ b/metagpt/actions/write_code_review.py
@@ -283,7 +283,10 @@ class ReviewAndRewriteCode(Action):
await awrite(filename=code_path, data=code)
- return code
+ return (
+ f'\nThe "review and rewrite the code {os.path.basename(code_path)}" task has been completed and is now marked as finished.\n'
+ + code
+ )
@staticmethod
async def _try_aread(input: str) -> str: