mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
update: SWE Agent
This commit is contained in:
parent
816a6eadde
commit
51bba81415
1 changed files with 2 additions and 2 deletions
|
|
@ -29,14 +29,14 @@ class SWEAgent(RoleZero):
|
|||
run_eval: bool = False
|
||||
|
||||
async 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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue