mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-19 13:14:26 +01:00
- Updated the `run` script to also check if `$OPENAI_API_KEY` is empty before copying `.env.example` and prompting the user to set API keys. - Modified the `setup` script to install `--extras benchmark` separately from the initial `poetry install` command. - Added `POETRY_INSTALLER_PARALLEL=false` flag to prevent conflicts between `forge` and `agbenchmark` during installation.
11 lines
206 B
Bash
Executable File
11 lines
206 B
Bash
Executable File
#!/bin/sh
|
|
|
|
kill $(lsof -t -i :8000)
|
|
|
|
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
|
|
fi
|
|
poetry run serve --debug
|