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]

Fix: Remove debug print statement

Kilian Lieretc3e9495b0ed0
diff --git a/sweagent/__init__.py b/sweagent/__init__.py
index d9210ffa..9e1cb4f7 100644
--- a/sweagent/__init__.py
+++ b/sweagent/__init__.py
@@ -49,8 +49,6 @@ def get_agent_commit_hash() -> str:
def get_rex_commit_hash() -> str:
import swerex
- print(swerex.__file__)
-
try:
repo = Repo(Path(swerex.__file__).resolve().parent.parent.parent, search_parent_directories=False)
except Exception: