Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Enh: More auto-correct

Kilian Lieret5761e0899fe1
diff --git a/sweagent/run/run_single.py b/sweagent/run/run_single.py
index 3c7abd9b..33003046 100644
--- a/sweagent/run/run_single.py
+++ b/sweagent/run/run_single.py
@@ -100,12 +100,13 @@ class RunSingleConfig(BaseSettings, cli_implicit_flags=False):
ACS("config_file", "config"),
ACS(
"data_path",
- help="--data_path is no longer support for SWE-A 1.0. Please check the tutorial and use one of the --problem_statement options, e.g., --problem_statement.github_url.",
+ help="--data_path is no longer support for SWE-A 1.0. Please check the tutorial and use one of the --problem_statement options, e.g., --problem_statement.github_url or --problem_statement.path",
),
ACS(
"repo_path",
- help="--repo_path is no longer support for SWE-A 1.0. Please check the tutorial and use one of the --env.repo options, e.g., --env.repo.github_url.",
+ help="--repo_path is no longer support for SWE-A 1.0. Please check the tutorial and use one of the --env.repo options, e.g., --env.repo.github_url or --env.repo.path",
),
+ ACS("repo.path", "env.repo.path"),
]