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]

Remove left-over debug statements

Kilian Lieret97afe430dabe
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.py
index 511c9cf5..fdcff884 100644
--- a/sweagent/agent/models.py
+++ b/sweagent/agent/models.py
@@ -223,8 +223,6 @@ class OpenAIModel(BaseModel):
# Set OpenAI key
cfg = config.Config(os.path.join(os.getcwd(), "keys.cfg"))
- print(">>>>>>>>", cfg)
- print(">>>>>>", OpenAI)
if self.args.model_name.startswith("azure"):
self.api_model = cfg["AZURE_OPENAI_DEPLOYMENT"]
self.client = AzureOpenAI(api_key=cfg["AZURE_OPENAI_API_KEY"], azure_endpoint=cfg["AZURE_OPENAI_ENDPOINT"], api_version=cfg.get("AZURE_OPENAI_API_VERSION", "2024-02-01"))