mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
Use gpt-3.5-turbo-0125 for commit messages
This commit is contained in:
parent
6ddfc894e7
commit
d376767ca3
1 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,7 @@ import math
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
|
|
||||||
class Model:
|
class Model:
|
||||||
name = None
|
name = None
|
||||||
edit_format = None
|
edit_format = None
|
||||||
|
@ -35,7 +36,7 @@ class Model:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def weak_model():
|
def weak_model():
|
||||||
return Model.create("gpt-3.5-turbo-1106")
|
return Model.create("gpt-3.5-turbo-0125")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def commit_message_models():
|
def commit_message_models():
|
||||||
|
@ -83,7 +84,6 @@ class Model:
|
||||||
token_cost = num_tiles * 170 + 85
|
token_cost = num_tiles * 170 + 85
|
||||||
return token_cost
|
return token_cost
|
||||||
|
|
||||||
|
|
||||||
def get_image_size(self, fname):
|
def get_image_size(self, fname):
|
||||||
"""
|
"""
|
||||||
Retrieve the size of an image.
|
Retrieve the size of an image.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue