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: Always raise exceptions

Kilian Lieret495fa33eba40
diff --git a/sweagent/api/server.py b/sweagent/api/server.py
index 398e8d22..757919b7 100644
--- a/sweagent/api/server.py
+++ b/sweagent/api/server.py
@@ -138,6 +138,7 @@ def run():
config_file=CONFIG_DIR / "default_from_url.yaml",
),
actions=ActionsArguments(open_pr=False, skip_if_commits_reference_issue=True),
+ raise_exceptions=True,
)
thread = MainThread(defaults, wu)
THREADS[session_id] = thread