diff --git a/autogpts/forge/run b/autogpts/forge/run index b2ea6563..58e36c6b 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 &