🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
update: SWE Agent
your-username9abea45d1e20
diff --git a/metagpt/roles/di/swe_agent.py b/metagpt/roles/di/swe_agent.pyindex e86b50a9d..166de3918 100644--- a/metagpt/roles/di/swe_agent.py+++ b/metagpt/roles/di/swe_agent.py@@ -29,14 +29,14 @@ class SWEAgent(RoleZero):run_eval: bool = Falseasync def _think(self) -> bool:- self._set_system_msg()+ self._update_system_msg()self._format_instruction()res = await super()._think()if self.run_eval:await self._parse_commands_for_eval()return res- def _set_system_msg(self):+ def _update_system_msg(self):"""Sets the system message for the SWE agent.