From 2b5ca2dbfb59ef860e0495dbad29ac7d14c12e5f Mon Sep 17 00:00:00 2001 From: Luke <2609441+lc0rp@users.noreply.github.com> Date: Wed, 23 Aug 2023 14:39:20 -0700 Subject: [PATCH] Update Turbo (#324) Co-authored-by: Luke <2609441+lc0rp@user.noreply.github.com> Co-authored-by: merwanehamadi --- .github/workflows/ci.yml | 7 +++---- .gitmodules | 7 ++++--- agent/Turbo | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) create mode 160000 agent/Turbo diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17fcb9a7b..cdbdff405 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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,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: - 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', '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 IFS=',' read -ra matrix_array <<< "${{ github.event.inputs.agents }}" matrix_string="[ \"$(echo "${matrix_array[@]}" | sed 's/ /", "/g')\" ]" @@ -188,11 +188,10 @@ jobs: nvm install && nvm use yarn install export NODE_TLS_REJECT_UNAUTHORIZED=0 - elif [ "$AGENT_NAME" == "Auto-GPT-Turbo" ]; then + elif [ "$AGENT_NAME" == "Turbo" ]; then python -m venv venv source venv/bin/activate pip install -r requirements.txt - pip uninstall agbenchmark -y cp .env.template .env sed -i 's/your-openai-api-key/${{ secrets.OPENAI_API_KEY }}/g' .env else diff --git a/.gitmodules b/.gitmodules index e5877476d..a8a544a54 100644 --- a/.gitmodules +++ b/.gitmodules @@ -33,6 +33,7 @@ [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 +[submodule "agent/Turbo"] + path = agent/Turbo + url = https://github.com/lc0rp/Auto-GPT-Turbo.git + branch = main diff --git a/agent/Turbo b/agent/Turbo new file mode 160000 index 000000000..edf737bfa --- /dev/null +++ b/agent/Turbo @@ -0,0 +1 @@ +Subproject commit edf737bfa56be76d5475eeb901a8867ac1e78185