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 temp 0.0

carlosee9fda3033a54
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.py
index 09d73c4c..e35226e7 100644
--- a/sweagent/agent/models.py
+++ b/sweagent/agent/models.py
@@ -64,7 +64,7 @@ class GenericAPIModelConfig(PydanticBaseModel):
description="Cost limit for every instance (task).",
)
total_cost_limit: float = Field(default=0.0, description="Total cost limit.")
- temperature: float = 1.0
+ temperature: float = 0.0
"""Sampling temperature"""
top_p: float | None = 1.0
"""Sampling top-p"""