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 debug print statement

Kilian Lieret0543151f1630
diff --git a/sweagent/agent/history_processors.py b/sweagent/agent/history_processors.py
index 4241baa8..735b80e1 100644
--- a/sweagent/agent/history_processors.py
+++ b/sweagent/agent/history_processors.py
@@ -212,7 +212,6 @@ class CacheControlHistoryProcessor(BaseModel):
self._clear_cache_control(entry)
if n_tagged < self.last_n_messages and entry["role"] in self.tagged_roles:
self._set_cache_control(entry)
- logger.debug("Tagged message %s", entry)
n_tagged += 1
new_history.append(entry)
if n_tagged != self.last_n_messages: