Update Turbo (#324)

Co-authored-by: Luke <2609441+lc0rp@user.noreply.github.com>
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com>
pull/5155/head
Luke 2023-08-23 14:39:20 -07:00 committed by GitHub
parent f36468240b
commit 2b5ca2dbfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

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

7
.gitmodules vendored
View File

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

1
agent/Turbo Submodule

@ -0,0 +1 @@
Subproject commit edf737bfa56be76d5475eeb901a8867ac1e78185