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]

Default temperature to 0.0

carlos4b875d6e97dd
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.py
index b3a18eb7..d80300d3 100644
--- a/sweagent/agent/models.py
+++ b/sweagent/agent/models.py
@@ -39,7 +39,7 @@ class ModelArguments(FrozenSerializable):
# Total cost limit
total_cost_limit: float = 0.0
# Sampling temperature
- temperature: float = 1.0
+ temperature: float = 0.0
# Sampling top-p
top_p: float = 1.0
# Path to replay file when using the replay model