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]
Web enh: Add start message; style no connection error msg
Kilian Lieretfb4c9533b493
diff --git a/sweagent/api/server.py b/sweagent/api/server.pyindex cb099da3..1fb49c7e 100644--- a/sweagent/api/server.py+++ b/sweagent/api/server.py@@ -88,6 +88,8 @@ def run():session_id = ensure_session_id_set()if request.method == "OPTIONS": # CORS preflightreturn _build_cors_preflight_response()+ wu = WebUpdate(socketio)+ wu.up_agent("Starting the run")data_path = request.args["data_path"]repo_path = request.args["repo_path"]model_name = request.args["model"]@@ -119,7 +121,6 @@ def run():),actions=ActionsArguments(open_pr=False, skip_if_commits_reference_issue=True),)- wu = WebUpdate(socketio)thread = MainThread(defaults, wu)global THREADSTHREADS[session_id] = threaddiff --git a/sweagent/frontend/src/Run.js b/sweagent/frontend/src/Run.jsindex f97a4c28..2b9182b6 100644--- a/sweagent/frontend/src/Run.js+++ b/sweagent/frontend/src/Run.js@@ -169,7 +169,7 @@ function Run() {function renderErrorMessage() {if (!isConnected && connectionError) {return (- <div style={{ backgroundColor: 'red', color: 'white', padding: '10px' }}>+ <div class="alert alert-danger" role="alert">{connectionError}</div>);