mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: Add args parameter to Commands constructor
This commit is contained in:
parent
808bcea8c1
commit
25de4f318c
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class Commands:
|
||||||
voice = None
|
voice = None
|
||||||
scraper = 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.io = io
|
||||||
self.coder = coder
|
self.coder = coder
|
||||||
|
|
||||||
|
|
|
@ -522,7 +522,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
commands = Commands(io, None, verify_ssl=args.verify_ssl)
|
commands = Commands(io, None, verify_ssl=args.verify_ssl, args=args)
|
||||||
|
|
||||||
summarizer = ChatSummary(
|
summarizer = ChatSummary(
|
||||||
[main_model.weak_model, main_model],
|
[main_model.weak_model, main_model],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue