From a3562d1d62f9fbaf2ed6ff49f5cf37530308b13e Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 9 May 2025 08:14:00 -0700 Subject: [PATCH] feat: Forward script args to aider command --- scripts/update-history.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/update-history.py b/scripts/update-history.py index f551ce14c..55e3ccaa0 100755 --- a/scripts/update-history.py +++ b/scripts/update-history.py @@ -70,9 +70,7 @@ def run_plain_git_log(): def main(): - model_name = "o3" - if len(sys.argv) > 1: - model_name = sys.argv[1] + aider_args = sys.argv[1:] # Get the git log and diff output log_content = run_git_log() @@ -141,9 +139,7 @@ def main(): message, "--no-git", "--no-auto-lint", - "--model", - model_name, - ] + ] + aider_args subprocess.run(cmd) # Read back the updated history