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],