Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Update Hackathon CI

Merwane Hamadi336e78eca0a1
diff --git a/.github/workflows/hackathon.yml b/.github/workflows/hackathon.yml
index 2f3ff4af88..01c442b085 100644
--- a/.github/workflows/hackathon.yml
+++ b/.github/workflows/hackathon.yml
@@ -20,7 +20,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', 'Turbo' ]"
+ echo "::set-output name=matrix::[ 'ZEROAGPT_03', 'evo-ninja', 'gpt-engineer']"
elif [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
IFS=',' read -ra matrix_array <<< "${{ github.event.inputs.agents }}"
matrix_string="[ \"$(echo "${matrix_array[@]}" | sed 's/ /", "/g')\" ]"
@@ -70,9 +70,15 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org | python -
- - name: Run regression tests
+ - name: Run benchmark
run: |
- ./run agent start ${{ matrix.agent-name }}
+ mkdir agent
+ link=$(jq -r '.["github_repo_url"]' arena/$AGENT_NAME.json)
+ branch=$(jq -r '.["branch_to_benchmark"]' arena/$AGENT_NAME.json)
+ cd agent
+ git clone "$link" -b "$branch"
+ cd $AGENT_NAME
+ ./run agent start $AGENT_NAME
cd benchmark
poetry install
poetry run agbenchmark --mock
@@ -80,8 +86,3 @@ jobs:
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AGENT_NAME: ${{ matrix.agent-name }}
- HELICONE_API_KEY: ${{ secrets.HELICONE_API_KEY }}
- REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
- HELICONE_CACHE_ENABLED: false
- HELICONE_PROPERTY_AGENT: ${{ matrix.agent-name }}
- REPORT_LOCATION: ${{ format('../../reports/{0}', matrix.agent-name) }}