diff options
Diffstat (limited to 'autogpts/autogpt/agbenchmark_config/benchmarks.py')
-rw-r--r-- | autogpts/autogpt/agbenchmark_config/benchmarks.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/autogpts/autogpt/agbenchmark_config/benchmarks.py b/autogpts/autogpt/agbenchmark_config/benchmarks.py index ab809d86b..61b16984f 100644 --- a/autogpts/autogpt/agbenchmark_config/benchmarks.py +++ b/autogpts/autogpt/agbenchmark_config/benchmarks.py @@ -21,12 +21,13 @@ def run_specific_agent(task: str, continuous_mode: bool = False) -> None: def bootstrap_agent(task: str, continuous_mode: bool) -> Agent: - config = ConfigBuilder.build_config_from_env() - config.logging.level = logging.DEBUG - config.logging.log_dir = LOG_DIR - config.logging.plain_console_output = True - configure_logging(**config.logging.dict()) + configure_logging( + level=logging.DEBUG, + log_dir=LOG_DIR, + plain_console_output=True, + ) + config = ConfigBuilder.build_config_from_env() config.continuous_mode = continuous_mode config.continuous_limit = 20 config.noninteractive_mode = True |