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(logging): run_batch to also log at TRACE level

Kilian Lieret754d051727a3
diff --git a/sweagent/run/run_batch.py b/sweagent/run/run_batch.py
index 391bc01b..105db09f 100644
--- a/sweagent/run/run_batch.py
+++ b/sweagent/run/run_batch.py
@@ -235,7 +235,7 @@ class RunBatch:
# Set all stream handlers to WARNING and set everything where we want to have
# more verbosity explicitly
set_stream_handler_levels(logging.WARNING)
- self.logger.setLevel(logging.DEBUG)
+ self.logger.setLevel(logging.TRACE) # type: ignore
with Live(self._progress_manager.render_group):
with ThreadPoolExecutor(max_workers=self._num_workers) as executor: