mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
style: Run linter
This commit is contained in:
parent
888d60d472
commit
0a7e5f313f
2 changed files with 3 additions and 3 deletions
|
@ -537,7 +537,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
args.model,
|
args.model,
|
||||||
weak_model=args.weak_model,
|
weak_model=args.weak_model,
|
||||||
junior_model=args.junior_model,
|
junior_model=args.junior_model,
|
||||||
junior_edit_format=args.junior_edit_format
|
junior_edit_format=args.junior_edit_format,
|
||||||
)
|
)
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
|
|
|
@ -717,11 +717,11 @@ class Model(ModelSettings):
|
||||||
weak_model=False,
|
weak_model=False,
|
||||||
junior_model=False,
|
junior_model=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Use the provided junior_edit_format if available, otherwise use the ModelSettings value
|
# Use the provided junior_edit_format if available, otherwise use the ModelSettings value
|
||||||
if self.junior_edit_format is None:
|
if self.junior_edit_format is None:
|
||||||
self.junior_edit_format = self.junior_edit_format or self.junior_model.edit_format
|
self.junior_edit_format = self.junior_edit_format or self.junior_model.edit_format
|
||||||
|
|
||||||
return self.junior_model
|
return self.junior_model
|
||||||
|
|
||||||
def tokenizer(self, text):
|
def tokenizer(self, text):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue