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]

Web fix: Reset highlighted step after running

Kilian Lieret914a36b6158a
diff --git a/sweagent/frontend/src/Run.js b/sweagent/frontend/src/Run.js
index 12bf5c14..70bca6af 100644
--- a/sweagent/frontend/src/Run.js
+++ b/sweagent/frontend/src/Run.js
@@ -69,6 +69,7 @@ function Run() {
setAgentFeed([]);
setEnvFeed([]);
setLogs('');
+ setHighlightedStep(null);
try {
await axios.get(`/run`, { params: { data_path: dataPath, test_run: testRun, repo_path: repoPath } });
} catch (error) {