This commit is contained in:
Paul Gauthier 2023-07-25 07:46:05 -03:00
parent f0ec6cb36a
commit 4e348102bf
2 changed files with 29 additions and 4 deletions

View file

@ -9,7 +9,7 @@ from aider.sendchat import simple_send_with_retries
class ChatSummary:
def __init__(self, model=models.GPT35.name, max_tokens=1024):
def __init__(self, model=models.GPT35.name, max_tokens=128):
self.tokenizer = tiktoken.encoding_for_model(model)
self.max_tokens = max_tokens