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]
Update model id naming
carlosejimenez92e8c9eabdbc
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.pyindex e7a52dfc..7cd986c5 100644--- a/sweagent/agent/models.py+++ b/sweagent/agent/models.py@@ -193,7 +193,8 @@ class GenericAPIModelConfig(PydanticBaseModel):temperature = "None"else:temperature = f"{self.temperature:.2f}"- return f"{self.name}__t-{temperature}__p-{top_p}__c-{self.per_instance_cost_limit:.2f}"+ name = self.name.replace("/", "--")+ return f"{name}__t-{temperature}__p-{top_p}__c-{self.per_instance_cost_limit:.2f}"class ReplayModelConfig(GenericAPIModelConfig):