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.

Add Helicone (#81)

merwanehamadi30ba51593f27
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d989389dbc..cac1dedb1d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -172,6 +172,7 @@ jobs:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
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 }}
- name: Upload logs as artifact
if: always()
diff --git a/agbenchmark/challenge.py b/agbenchmark/challenge.py
index cf7ce104c5..aeebd7ad89 100644
--- a/agbenchmark/challenge.py
+++ b/agbenchmark/challenge.py
@@ -7,6 +7,7 @@ from typing import Any, Dict, List
from dotenv import load_dotenv
from agbenchmark.challenges.define_task_types import ChallengeData, Ground
+from agbenchmark.start_benchmark import CURRENT_DIRECTORY
load_dotenv()
@@ -23,7 +24,7 @@ class Challenge(ABC):
@property
def data(self) -> ChallengeData:
- file_path = f"{self.CHALLENGE_LOCATION}/data.json"
+ file_path = f"{CURRENT_DIRECTORY}/../{self.CHALLENGE_LOCATION}/data.json"
if file_path not in Challenge._data_cache:
Challenge._data_cache[file_path] = ChallengeData.deserialize(file_path)
return Challenge._data_cache[file_path]
diff --git a/agbenchmark/challenges/test_all.py b/agbenchmark/challenges/test_all.py
index 4f9e5b7f82..e7fe99e738 100644
--- a/agbenchmark/challenges/test_all.py
+++ b/agbenchmark/challenges/test_all.py
@@ -10,13 +10,14 @@ import pytest
from dotenv import load_dotenv
from agbenchmark.challenge import Challenge
+from agbenchmark.start_benchmark import CURRENT_DIRECTORY
load_dotenv()
IMPROVE = os.getenv("IMPROVE", "False")
-json_files = glob.glob("agbenchmark/challenges/**/data.json", recursive=True)
+json_files = glob.glob(f"{CURRENT_DIRECTORY}/challenges/**/data.json", recursive=True)
def get_test_path(json_file: str) -> str:
diff --git a/agent/Auto-GPT b/agent/Auto-GPT
index cec424ad25..f360d503b1 160000
--- a/agent/Auto-GPT
+++ b/agent/Auto-GPT
@@ -1 +1 @@
-Subproject commit cec424ad2504020a830c3af9f74536a420545931
+Subproject commit f360d503b113119f6b3ce0acff1dbb4dfae2223a