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 debug code challenge (#76)
merwanehamadid89264998d36
diff --git a/agbenchmark/conftest.py b/agbenchmark/conftest.pyindex ffbb262025..7d3dd8ed31 100644--- a/agbenchmark/conftest.py+++ b/agbenchmark/conftest.py@@ -40,9 +40,7 @@ def config(request: Any) -> None:with open(CONFIG_PATH, "r") as f:config = json.load(f)- if request.config.getoption("--mock"):- config["workspace"] = "agbenchmark/workspace"- elif isinstance(config["workspace"], str):+ if isinstance(config["workspace"], str):config["workspace"] = resolve_workspace(config)else: # it's a input output dictconfig["workspace"]["input"] = resolve_workspace(config)