Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Updated run script

SwiftyOSdce7636798b6
diff --git a/autogpts/forge/run b/autogpts/forge/run
index b2ea656337..58e36c6ba8 100755
--- a/autogpts/forge/run
+++ b/autogpts/forge/run
@@ -1,4 +1,9 @@
+#!/bin/bash
+
kill $(lsof -t -i :8000)
poetry install
-cp .env.example .env
+if [ ! -f .env ]; then
+ cp .env.example .env
+ echo "Please add your api keys to the .env file."
+fi
poetry run python -m forge &