mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +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
|
return self.weak_model
|
||||||
|
|
||||||
def commit_message_models(self):
|
def commit_message_models(self):
|
||||||
return [self.weak_model]
|
return [self.weak_model, self]
|
||||||
|
|
||||||
def tokenizer(self, text):
|
def tokenizer(self, text):
|
||||||
return litellm.encode(model=self.name, text=text)
|
return litellm.encode(model=self.name, text=text)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue