Add agbenchmark serve to run command (#5222)
* Add agbenchmark serve to run command * Update autogpts-ci.ymlpull/5223/head
parent
bbb526e6f8
commit
885f120aa4
|
@ -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:
|
||||||
|
|
|
@ -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 &
|
||||||
|
|
Loading…
Reference in New Issue