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]
Silence warning: Remove demo templates when they aren't used
Kilian Lieret247b1e7c6279
diff --git a/config/function_calling_replace.yaml b/config/function_calling_replace.yamlindex c2630b5a..e86b85a0 100644--- a/config/function_calling_replace.yaml+++ b/config/function_calling_replace.yaml@@ -97,13 +97,6 @@ agent:(Open file: {{open_file}})(Current directory: {{working_dir}})bash-$- demonstration_template: |- Here is a demonstration of how to correctly accomplish this task.- It is included to show you how to correctly use the interface.- You do not need to follow exactly what is done in the demonstration.- --- DEMONSTRATION ---- {{demonstration}}- --- END OF DEMONSTRATION ---demonstrations:- trajectories/demonstrations/replay__marshmallow-code__marshmallow-1867__function_calling_replace__install-1/marshmallow-code__marshmallow-1867.trajput_demos_in_history: truediff --git a/config/function_calling_replace_late_repro.yaml b/config/function_calling_replace_late_repro.yamlindex 0a89652d..b6b4ff82 100644--- a/config/function_calling_replace_late_repro.yaml+++ b/config/function_calling_replace_late_repro.yaml@@ -97,13 +97,6 @@ agent:(Open file: {{open_file}})(Current directory: {{working_dir}})bash-$- demonstration_template: |- Here is a demonstration of how to correctly accomplish this task.- It is included to show you how to correctly use the interface.- You do not need to follow exactly what is done in the demonstration.- --- DEMONSTRATION ---- {{demonstration}}- --- END OF DEMONSTRATION ---demonstrations:- trajectories/demonstrations/function_calling_simple.trajput_demos_in_history: truediff --git a/config/function_calling_replace_late_repro_review_submit.yaml b/config/function_calling_replace_late_repro_review_submit.yamlindex 4f172e5b..a36fb1d2 100644--- a/config/function_calling_replace_late_repro_review_submit.yaml+++ b/config/function_calling_replace_late_repro_review_submit.yaml@@ -101,13 +101,6 @@ agent:(Open file: {{open_file}})(Current directory: {{working_dir}})bash-$- demonstration_template: |- Here is a demonstration of how to correctly accomplish this task.- It is included to show you how to correctly use the interface.- You do not need to follow exactly what is done in the demonstration.- --- DEMONSTRATION ---- {{demonstration}}- --- END OF DEMONSTRATION ---demonstrations:- trajectories/demonstrations/function_calling_simple.trajput_demos_in_history: truediff --git a/config/function_calling_rewrite.yaml b/config/function_calling_rewrite.yamlindex d8863def..46cf8259 100644--- a/config/function_calling_rewrite.yaml+++ b/config/function_calling_rewrite.yaml@@ -68,13 +68,6 @@ agent:(Open file: {{open_file}})(Current directory: {{working_dir}})bash-$- demonstration_template: |- Here is a demonstration of how to correctly accomplish this task.- It is included to show you how to correctly use the interface.- You do not need to follow exactly what is done in the demonstration.- --- DEMONSTRATION ---- {{demonstration}}- --- END OF DEMONSTRATION ---demonstrations:- trajectories/demonstrations/replay__marshmallow-code__marshmallow-1867__function_calling_replace__install-1/marshmallow-code__marshmallow-1867.trajput_demos_in_history: true