diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d989389dbca..cac1dedb1de 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 cf7ce104c57..aeebd7ad897 100644 --- a/agbenchmark/challenge.py +++ b/agbenchmark/challenge.py @@ -7,6 +7,7 @@ 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 4f9e5b7f828..e7fe99e738e 100644 --- a/agbenchmark/challenges/test_all.py +++ b/agbenchmark/challenges/test_all.py @@ -10,13 +10,14 @@ 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 cec424ad250..f360d503b11 160000 --- a/agent/Auto-GPT +++ b/agent/Auto-GPT @@ -1 +1 @@ -Subproject commit cec424ad2504020a830c3af9f74536a420545931 +Subproject commit f360d503b113119f6b3ce0acff1dbb4dfae2223a