Integrate Beebot (#169)
parent
f475631cdd
commit
dcdc0c9727
|
@ -71,7 +71,6 @@ jobs:
|
||||||
min-python-version: "3.10"
|
min-python-version: "3.10"
|
||||||
name: "${{ matrix.agent-name }} (Cache: ${{ matrix.cache-enabled }})"
|
name: "${{ matrix.agent-name }} (Cache: ${{ matrix.cache-enabled }})"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -80,6 +79,7 @@ jobs:
|
||||||
- "smol-developer"
|
- "smol-developer"
|
||||||
- "Auto-GPT"
|
- "Auto-GPT"
|
||||||
- "mini-agi"
|
- "mini-agi"
|
||||||
|
- "beebot"
|
||||||
cache-enabled: [ true, false ]
|
cache-enabled: [ true, false ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -115,6 +115,7 @@ jobs:
|
||||||
- name: Run regression tests
|
- name: Run regression tests
|
||||||
run: |
|
run: |
|
||||||
cd agent/$AGENT_NAME
|
cd agent/$AGENT_NAME
|
||||||
|
prefix=""
|
||||||
if [ "$AGENT_NAME" == "gpt-engineer" ]; then
|
if [ "$AGENT_NAME" == "gpt-engineer" ]; then
|
||||||
make install
|
make install
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
@ -135,6 +136,10 @@ jobs:
|
||||||
cp config_template.yaml config.yaml
|
cp config_template.yaml config.yaml
|
||||||
sed -i 's/OPENAI_API_KEY:.*/OPENAI_API_KEY: "'"${{ secrets.OPENAI_API_KEY }}"'"/' config.yaml
|
sed -i 's/OPENAI_API_KEY:.*/OPENAI_API_KEY: "'"${{ secrets.OPENAI_API_KEY }}"'"/' config.yaml
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
|
elif [ "$AGENT_NAME" == "beebot" ]; then
|
||||||
|
poetry install
|
||||||
|
poetry run playwright install
|
||||||
|
prefix="poetry run "
|
||||||
else
|
else
|
||||||
echo "Unknown agent name: $AGENT_NAME"
|
echo "Unknown agent name: $AGENT_NAME"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -143,19 +148,19 @@ jobs:
|
||||||
pip install ../../dist/*.whl
|
pip install ../../dist/*.whl
|
||||||
|
|
||||||
if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]; then
|
if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]; then
|
||||||
agbenchmark start --maintain --mock
|
${prefix}agbenchmark start --maintain --mock
|
||||||
agbenchmark start --improve --mock
|
${prefix}agbenchmark start --improve --mock
|
||||||
agbenchmark start --mock
|
${prefix}agbenchmark start --mock
|
||||||
agbenchmark start --mock --category=retrieval
|
${prefix}agbenchmark start --mock --category=retrieval
|
||||||
agbenchmark start --mock --category=interface
|
${prefix}agbenchmark start --mock --category=interface
|
||||||
agbenchmark start --mock --category=code
|
${prefix}agbenchmark start --mock --category=code
|
||||||
agbenchmark start --mock --category=memory
|
${prefix}agbenchmark start --mock --category=memory
|
||||||
agbenchmark start --mock --category=iterate
|
${prefix}agbenchmark start --mock --category=iterate
|
||||||
else
|
else
|
||||||
curl -s https://raw.githubusercontent.com/Helicone/helicone/main/mitmproxy.sh | bash -s start
|
curl -s https://raw.githubusercontent.com/Helicone/helicone/main/mitmproxy.sh | bash -s start
|
||||||
agbenchmark start || echo "This command will always return a non zero exit code unless all the challenges are solved."
|
${prefix}agbenchmark start || echo "This command will always return a non zero exit code unless all the challenges are solved."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -191,6 +196,8 @@ jobs:
|
||||||
git fetch origin $current_branch
|
git fetch origin $current_branch
|
||||||
git rebase origin/$current_branch
|
git rebase origin/$current_branch
|
||||||
git push origin HEAD
|
git push origin HEAD
|
||||||
poetry run python send_to_googledrive.py
|
if [ "$current_branch" == "master" ]; then
|
||||||
|
poetry run python send_to_googledrive.py
|
||||||
|
fi
|
||||||
env:
|
env:
|
||||||
GDRIVE_BASE64: ${{ secrets.GDRIVE_BASE64 }}
|
GDRIVE_BASE64: ${{ secrets.GDRIVE_BASE64 }}
|
||||||
|
|
|
@ -18,3 +18,7 @@
|
||||||
path = agent/SuperAGI
|
path = agent/SuperAGI
|
||||||
url = https://github.com/SilenNaihin/SuperAGI.git
|
url = https://github.com/SilenNaihin/SuperAGI.git
|
||||||
branch = benchmark-integration
|
branch = benchmark-integration
|
||||||
|
[submodule "agent/beebot"]
|
||||||
|
path = agent/beebot
|
||||||
|
url = https://github.com/merwanehamadi/beebot.git
|
||||||
|
branch = benchmark-integration
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b9686b12d317b26095d706665f0a43244d7afb7c
|
Loading…
Reference in New Issue