diff options
Diffstat (limited to 'autogpts/autogpt/run')
-rwxr-xr-x | autogpts/autogpt/run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/run b/autogpts/autogpt/run index b37c053fa..eebf7fe0f 100755 --- a/autogpts/autogpt/run +++ b/autogpts/autogpt/run @@ -2,7 +2,7 @@ kill $(lsof -t -i :8000) -if [ ! -f .env ]; then +if [ ! -f .env ] && [ -z "$OPENAI_API_KEY" ]; then cp .env.example .env echo "Please add your api keys to the .env file." >&2 # exit 1 |