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: Temporarily disable timeout-based setIsComputing
Kilian Lieretee834f36b7b7
diff --git a/sweagent/api/server.py b/sweagent/api/server.pyindex c862ec65..0904ad00 100644--- a/sweagent/api/server.py+++ b/sweagent/api/server.py@@ -131,7 +131,6 @@ def run():environment_setup = str(write_env_yaml(environment))elif environment["config_type"] == "script_path":environment_setup = environment["script_path"]- wu.up_agent("Environment setup " + environment_setup)test_run = request.args["test_run"].lower() == "true"if test_run:model_name = "instant_empty_submit"diff --git a/sweagent/frontend/src/Run.js b/sweagent/frontend/src/Run.jsindex 02dd4015..122505a4 100644--- a/sweagent/frontend/src/Run.js+++ b/sweagent/frontend/src/Run.js@@ -94,12 +94,12 @@ function Run() {};const requeueStopComputeTimeout = () => {- clearTimeout(stillComputingTimeoutRef.current);- setIsComputing(true);- stillComputingTimeoutRef.current = setTimeout(() => {- setIsComputing(false);- console.log("No activity for 30s, setting isComputing to false");- }, 30000);+ // clearTimeout(stillComputingTimeoutRef.current);+ // setIsComputing(true);+ // stillComputingTimeoutRef.current = setTimeout(() => {+ // setIsComputing(false);+ // console.log("No activity for 30s, setting isComputing to false");+ // }, 30000);};// Handle form submission