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.

Fix agent protocol test (#301)

merwanehamadi0da8a2bd998e
diff --git a/agbenchmark/utils/challenge.py b/agbenchmark/utils/challenge.py
index 9a08cb0a63..19593b7269 100644
--- a/agbenchmark/utils/challenge.py
+++ b/agbenchmark/utils/challenge.py
@@ -47,14 +47,15 @@ class Challenge(ABC):
return self.data.dependencies
async def setup_challenge(self, config: Dict[str, Any], cutoff: int) -> None:
- if not self.task:
- return
-
from agbenchmark.agent_interface import copy_artifacts_into_workspace, run_agent
copy_artifacts_into_workspace(
config["workspace"], "artifacts_in", self.ARTIFACTS_LOCATION
)
+ if not self.task:
+ return
+
+
print(
f"\033[1;35m============Starting {self.data.name} challenge============\033[0m"