update: SWE Agent

This commit is contained in:
seeker 2024-07-03 22:37:17 +08:00
parent d571fe0f90
commit ca0cb7639f
3 changed files with 10 additions and 5 deletions

View file

@ -25,7 +25,7 @@ class SWE(RoleZero):
tools: list[str] = ["Bash", "Browser:goto,scroll"]
terminal: Bash = Field(default_factory=Bash, exclude=True)
output_diff: str = ""
max_react_loop: int = 30
max_react_loop: int = 40
async def _think(self) -> bool:
self._set_system_msg()