From 25de4f318cf07e4cbc7fed8a4c39a1bdad901f21 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 29 Aug 2024 06:27:41 -0700 Subject: [PATCH] feat: Add args parameter to Commands constructor --- aider/commands.py | 2 +- aider/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index 5a73b2411..88ec7d9b2 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -29,7 +29,7 @@ class Commands: voice = None scraper = None - def __init__(self, io, coder, voice_language=None, verify_ssl=True): + def __init__(self, io, coder, voice_language=None, verify_ssl=True, args=None): self.io = io self.coder = coder diff --git a/aider/main.py b/aider/main.py index d1da3b5aa..5724990eb 100644 --- a/aider/main.py +++ b/aider/main.py @@ -522,7 +522,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F except FileNotFoundError: pass - commands = Commands(io, None, verify_ssl=args.verify_ssl) + commands = Commands(io, None, verify_ssl=args.verify_ssl, args=args) summarizer = ChatSummary( [main_model.weak_model, main_model],