Adding Auto-GPT-Turbo (#322)

Co-authored-by: Luke <2609441+lc0rp@user.noreply.github.com>
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com>
This commit is contained in:
Luke
2023-08-19 11:32:38 -07:00
committed by GitHub
parent 9f1631719c
commit 3de18d7c59
4 changed files with 13 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ on:
agents:
description: 'Agents to run (comma-separated)'
required: false
default: 'gpt-engineer,smol-developer,Auto-GPT,mini-agi,beebot,BabyAGI,PolyGPT' # Default agents if none are specified
default: 'gpt-engineer,smol-developer,Auto-GPT,mini-agi,beebot,BabyAGI,PolyGPT,Auto-GPT-Turbo' # Default agents if none are specified
schedule:
- cron: '0 8 * * *'
push:
@@ -80,7 +80,7 @@ jobs:
run: |
if [ "${{ github.event_name }}" == "schedule" ]; then
echo "::set-output name=env-name::production"
echo "::set-output name=matrix::[ 'gpt-engineer', 'smol-developer', 'Auto-GPT', 'mini-agi', 'beebot', 'BabyAGI', 'PolyGPT' ]"
echo "::set-output name=matrix::[ 'gpt-engineer', 'smol-developer', 'Auto-GPT', 'mini-agi', 'beebot', 'BabyAGI', 'PolyGPT', 'Auto-GPT-Turbo' ]"
elif [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
IFS=',' read -ra matrix_array <<< "${{ github.event.inputs.agents }}"
matrix_string="[ \"$(echo "${matrix_array[@]}" | sed 's/ /", "/g')\" ]"
@@ -188,6 +188,13 @@ jobs:
nvm install && nvm use
yarn install
export NODE_TLS_REJECT_UNAUTHORIZED=0
elif [ "$AGENT_NAME" == "Auto-GPT-Turbo" ]; then
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip uninstall agbenchmark -y
cp .env_example .env
sed -i 's/your-openai-api-key/${{ secrets.OPENAI_API_KEY }}/g' .env
else
echo "Unknown agent name: $AGENT_NAME"
exit 1

3
.gitmodules vendored
View File

@@ -33,3 +33,6 @@
[submodule "frontend"]
path = frontend
url = https://github.com/agbenchmark/agbenchmark-frontend.git
[submodule "agent/Auto-GPT-Turbo"]
path = agent/Auto-GPT-Turbo
url = https://github.com/lc0rp/Auto-GPT-Turbo.git

0
.vscode/launch.json vendored Normal file
View File

1
agent/Auto-GPT-Turbo Submodule

Submodule agent/Auto-GPT-Turbo added at 6b948b7362