mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
Use the main model as a fallback for commit messages
This commit is contained in:
parent
f04fb8d53a
commit
3c5d08920f
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ class Model:
|
|||
return self.weak_model
|
||||
|
||||
def commit_message_models(self):
|
||||
return [self.weak_model]
|
||||
return [self.weak_model, self]
|
||||
|
||||
def tokenizer(self, text):
|
||||
return litellm.encode(model=self.name, text=text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue