🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix:command exists in the code file
黄伟韬deb8bb6b2910
diff --git a/metagpt/roles/di/engineer2.py b/metagpt/roles/di/engineer2.pyindex 6313c5b33..3d80e6a26 100644--- a/metagpt/roles/di/engineer2.py+++ b/metagpt/roles/di/engineer2.py@@ -113,7 +113,7 @@ class Engineer2(RoleZero):command_output += await super()._run_special_command(cmd)return command_output- async def write_new_code(self, path: str, instruction: str = "") -> str:+ async def write_new_code(self, path: str, instruction: str = "Write code for the current file.") -> str:"""Write a new code file.Args: