From 5c8150fd160f6ac39db6bc76c6530dbeefaf2895 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 17 Apr 2025 20:02:09 -0700 Subject: [PATCH] fix: Change reasoning_effort type to string in benchmark script --- benchmark/benchmark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index f13cb2cb1..1ce34a002 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -206,7 +206,7 @@ def main( read_model_settings: str = typer.Option( None, "--read-model-settings", help="Load aider model settings from YAML file" ), - reasoning_effort: Optional[float] = typer.Option( + reasoning_effort: Optional[str] = typer.Option( None, "--reasoning-effort", help="Set reasoning effort for models that support it" ), exercises_dir: str = typer.Option( @@ -674,7 +674,7 @@ def run_test_real( editor_edit_format, num_ctx=None, sleep=0, - reasoning_effort=None, + reasoning_effort: Optional[str] = None, read_model_settings=None, ): if not os.path.isdir(testdir):