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 UI: Start the Flask server first. (#482)
Kirk Wightfa4b0c375632
diff --git a/docs/faq.md b/docs/faq.mdindex 2fab8c76..13ba8a62 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -2,15 +2,15 @@> How can I change the demonstrations given to SWE-agent?-At the start of each run, we feed the agent a demonstration trajectory, showing it how to solve an example issue.-This substantially improves the agent's abilities to solve novel issues.+At the start of each run, we feed the agent a demonstration trajectory, showing it how to solve an example issue.+This substantially improves the agent's abilities to solve novel issues.If you'd like to modify or totally change this demonstration, to better fit your use case, see [this](config/demonstrations.md).> Does SWE-agent run on windows?You can run it in a [docker container](installation/docker.md), though this is not our first-choice for running SWE-agent. SWE-agent runs best on Mac and Linux, as these are the environments we use for SWE-agent development.-We're open to merge simple fixes to make the [development setup](installation/source.md) work on Windows.+choice for running SWE-agent. SWE-agent runs best on Mac and Linux, as these are the environments we use for SWE-agent development.+We're open to merge simple fixes to make the [development setup](installation/source.md) work on Windows.> Which LMs do you support?diff --git a/start_web_ui.sh b/start_web_ui.shindex 356e8603..9857a58c 100755--- a/start_web_ui.sh+++ b/start_web_ui.sh@@ -16,6 +16,8 @@ function print_log {echo "----------"}+trap print_log ERR+python sweagent/api/server.py > web_api.log 2>&1 &cd "${this_dir}/sweagent/frontend"npm installtrap stop_react exit@@ -32,8 +34,6 @@ echo "* Something went wrong? Please check "echo " web_api.log for error messages!"cd ../../-trap print_log ERR-python sweagent/api/server.py > web_api.log 2>&1 &wait -nexit $?