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]
Fix: Reset step count when changing trajs
Kilian Lieretb941a988f3f0
diff --git a/sweagent/run/inspector_cli.py b/sweagent/run/inspector_cli.pyindex 30d6072b..9cad7ab9 100644--- a/sweagent/run/inspector_cli.py+++ b/sweagent/run/inspector_cli.py@@ -64,6 +64,7 @@ class TrajectoryViewer(Static):self.title = titleself.gold_patch = gold_patchself.overview_stats = overview_stats+ self.i_step = -1self.update_content()def compose(self) -> ComposeResult: