From 9f28bc945ed940bdb7e174f02ec8ac2f1ceab2bb Mon Sep 17 00:00:00 2001 From: Muhamed Fazal PS Date: Wed, 15 Jul 2026 18:15:14 +0530 Subject: [PATCH 1/2] fix: progress bar resets to 1/total_items on completion (#98) progress.update(task, completed=True) in Rich sets completed to 1 (True == 1), overriding the earlier completed=total_items. Changed to completed=total_items. --- openagent_eval/cli/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openagent_eval/cli/commands/run.py b/openagent_eval/cli/commands/run.py index 306d396..cc3b8da 100644 --- a/openagent_eval/cli/commands/run.py +++ b/openagent_eval/cli/commands/run.py @@ -143,7 +143,7 @@ def run_command( format_file = output_dir / f"{report_path.stem}{ext}" generator.generate_to_file(report, format_file) - progress.update(task, description="Complete!", completed=True) + progress.update(task, description="Complete!", completed=total_items) elapsed = time.time() - start_time From ab036ccf09edd1f4651d7b81bc691aeaff5eb0c8 Mon Sep 17 00:00:00 2001 From: Muhamed Fazal PS Date: Wed, 15 Jul 2026 18:15:14 +0530 Subject: [PATCH 2/2] fix: ctx variable shadowed from CLIContext to click.Context (#99) Renamed the click.get_current_context() result from 'ctx' to 'click_ctx' to avoid shadowing the CLIContext variable. --- openagent_eval/cli/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openagent_eval/cli/main.py b/openagent_eval/cli/main.py index adf096b..a005c4c 100644 --- a/openagent_eval/cli/main.py +++ b/openagent_eval/cli/main.py @@ -114,8 +114,8 @@ def main( try: import click - ctx = click.get_current_context(silent=True) - if ctx is not None and ctx.invoked_subcommand is None and not quiet: + click_ctx = click.get_current_context(silent=True) + if click_ctx is not None and click_ctx.invoked_subcommand is None and not quiet: create_mini_banner() except Exception: pass