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 debug print statements

Kilian Lierete80d160de745
diff --git a/sweagent/tools/parsing.py b/sweagent/tools/parsing.py
index 4c0257bf..4e28b1cf 100644
--- a/sweagent/tools/parsing.py
+++ b/sweagent/tools/parsing.py
@@ -301,9 +301,6 @@ class FunctionCallingParser(AbstractParseFunction, BaseModel):
else ""
for arg in command.arguments
}
- print(formatted_args)
- print(command.invoke_format)
- print(command.invoke_format.format(**formatted_args))
return command.invoke_format.format(**formatted_args).strip()
def __call__(self, model_response: dict, commands: list[Command], strict=False):