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]

Config: Set put_demos_in_history=True for fcalls

Kilian Lierete6d22bda0511
diff --git a/config/function_calling.yaml b/config/function_calling.yaml
index c9de056f..66c3b7c3 100644
--- a/config/function_calling.yaml
+++ b/config/function_calling.yaml
@@ -77,6 +77,7 @@ agent:
--- END OF DEMONSTRATION ---
demonstrations:
- trajectories/demonstrations/replay__marshmallow-code__marshmallow-1867__function_calling__install-1/marshmallow-code__marshmallow-1867.traj
+ put_demos_in_history: true
tools:
env_variables:
WINDOW: 100
diff --git a/config/function_calling_replace.yaml b/config/function_calling_replace.yaml
index d306c693..d94bf743 100644
--- a/config/function_calling_replace.yaml
+++ b/config/function_calling_replace.yaml
@@ -92,6 +92,7 @@ agent:
--- END OF DEMONSTRATION ---
demonstrations:
- trajectories/demonstrations/replay__marshmallow-code__marshmallow-1867__function_calling_replace__install-1/marshmallow-code__marshmallow-1867.traj
+ put_demos_in_history: true
tools:
env_variables:
WINDOW: 100