Add agent protocol (#258)

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
merwanehamadi
2023-08-05 10:43:18 -07:00
committed by GitHub
parent 5db931c094
commit 13d2dcbf5e
3 changed files with 189 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ jobs:
min-python-version: '3.10'
name: '${{ matrix.agent-name }}'
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
@@ -170,6 +170,8 @@ jobs:
elif [ "$AGENT_NAME" == "beebot" ]; then
poetry install
poetry run playwright install
uvicorn beebot.initiator.api:create_app --factory --reload --timeout-graceful-shutdown=3 --timeout-keep-alive=300 &
agent-protocol test --url=127.0.0.1:8000 || echo "Beebot is not compliant with the agent protocol"
prefix="poetry run "
else
echo "Unknown agent name: $AGENT_NAME"