🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
remove redundant code
黄伟韬e285e9b7d44c
diff --git a/metagpt/roles/di/engineer2.py b/metagpt/roles/di/engineer2.pyindex f82b19ae0..33c2c2dd9 100644--- a/metagpt/roles/di/engineer2.py+++ b/metagpt/roles/di/engineer2.py@@ -32,7 +32,7 @@ class Engineer2(RoleZero):"Browser:goto,scroll","git_create_pull",]- # Swe Agent ability+ # SWE Agent parameterrun_eval: bool = Falseoutput_diff: str = ""max_react_loop: int = 40@@ -59,8 +59,6 @@ class Engineer2(RoleZero):"ValidateAndRewriteCode.run": validate.run,"ValidateAndRewriteCode": validate.run,"Bash.run": self.eval_terminal_run if self.run_eval else self.terminal.run,- "RoleZero.ask_human": self.ask_human,- "RoleZero.reply_to_human": self.reply_to_human,"git_create_pull": git_create_pull,})