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

Kilian Lieret7abc1af840e9
diff --git a/sweagent/agent/agents.py b/sweagent/agent/agents.py
index 9d42386f..0c377a66 100644
--- a/sweagent/agent/agents.py
+++ b/sweagent/agent/agents.py
@@ -760,7 +760,6 @@ class Agent:
if self._rloop is not None:
self._rloop.on_model_query(attempt_stats=self.attempt_model_stats)
self._chook.on_model_query(messages=history, agent=self.name)
- print("History", history)
# todo: Add all options to the extra info
if self._action_sampler is not None:
assert self._problem_statement is not None