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]

Remove duplicated abstract method (#355)

Kilian Lieretaebe48aa1017
diff --git a/sweagent/agent/agents.py b/sweagent/agent/agents.py
index 65933165..36a128ce 100644
--- a/sweagent/agent/agents.py
+++ b/sweagent/agent/agents.py
@@ -228,9 +228,6 @@ class AgentHook:
def on_sub_action_started(self, *, sub_action: str):
...
- def on_sub_action_started(self, *, sub_action: str):
- ...
-
def on_sub_action_executed(self, *, obs: str, done: bool):
...