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]
Command.argument is never None
Kilian Lieretcfba32c95d26
diff --git a/sweagent/tools/commands.py b/sweagent/tools/commands.pyindex ea70e45f..1712b268 100644--- a/sweagent/tools/commands.py+++ b/sweagent/tools/commands.py@@ -88,7 +88,7 @@ class Command(BaseModel):signature: str | None = None# if there is an end_name, then it is a multi-line commandend_name: str | None = None- arguments: list[Argument] | None = None+ arguments: list[Argument] = []@cached_propertydef invoke_format(self) -> str: