Add agbenchmark serve to run command (#5222)

* Add agbenchmark serve to run command

* Update autogpts-ci.yml
pull/5223/head
merwanehamadi 2023-09-15 09:31:00 -07:00 committed by GitHub
parent bbb526e6f8
commit 885f120aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
agent-name: [ autogpt, forge ] agent-name: [ forge ]
fail-fast: false fail-fast: false
timeout-minutes: 20 timeout-minutes: 20
steps: steps:

View File

@ -1,9 +1,11 @@
#!/bin/bash #!/bin/bash
kill $(lsof -t -i :8000) kill $(lsof -t -i :8000)
kill $(lsof -t -i :8080)
poetry install poetry install
if [ ! -f .env ]; then if [ ! -f .env ]; then
cp .env.example .env cp .env.example .env
echo "Please add your api keys to the .env file." echo "Please add your api keys to the .env file."
fi fi
poetry run python -m forge & poetry run python -m forge &
agbenchmark serve &