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]
Fix: exit_status can be None, causing validation errors
Kilian Lieret29328db1cee6
diff --git a/sweagent/types.py b/sweagent/types.pyindex 0e6a1b54..4741dcd0 100644--- a/sweagent/types.py+++ b/sweagent/types.py@@ -78,7 +78,7 @@ Trajectory = list[TrajectoryStep]class AgentInfo(TypedDict, total=False):# same as `APIStats` from models.pymodel_stats: dict[str, float]- exit_status: str+ exit_status: str | Nonesubmission: str | None# same as `ReviewerResult`review: dict[str, Any]