update: SWE Agent

This commit is contained in:
your-username 2024-07-03 22:37:17 +08:00
parent 00d683251b
commit 2e35f66669
3 changed files with 10 additions and 5 deletions

View file

@ -150,5 +150,7 @@ METAGPT_REPORTER_DEFAULT_URL = os.environ.get("METAGPT_REPORTER_URL", "")
# Metadata defines
AGENT = "agent"
SWE_WORKSPACE_ROOT = Path("/tmp/swe_workspace")
if not SWE_WORKSPACE_ROOT.exists():
SWE_WORKSPACE_ROOT.mkdir(parents=True)
# SWE agent
SWE_SETUP_PATH = METAGPT_ROOT / "metagpt/tools/swe_agent_commands/setup_default.sh"