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(reviewer): Default template to use jinja
Kilian Lieretc29fb47e87cc
diff --git a/sweagent/agent/reviewer.py b/sweagent/agent/reviewer.pyindex ef4666b6..8033c373 100644--- a/sweagent/agent/reviewer.py+++ b/sweagent/agent/reviewer.py@@ -266,7 +266,7 @@ class TrajectoryFormatter:*,traj_filter: list[str] | None = None,traj_output_filter: list[str] | None = None,- traj_item_template: str = "Model: {response}\n\nObservation: {observation}",+ traj_item_template: str = "Model: {{response}}\n\nObservation: {{observation}}",filter_failed_edits: bool = False,only_show_last_n_output: int = 0,):