mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-25 09:54:23 +01:00
Fix agent protocol test (#301)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user