This commit is contained in:
Paul Gauthier 2023-06-07 12:29:51 -07:00
parent 9cef379abd
commit a874d617d3
4 changed files with 15 additions and 15 deletions

View file

@ -15,7 +15,7 @@ class Commands:
def __init__(self, io, coder):
self.io = io
self.coder = coder
self.tokenizer = tiktoken.encoding_for_model(coder.main_model.value)
self.tokenizer = tiktoken.encoding_for_model(coder.main_model.name)
def is_command(self, inp):
if inp[0] == "/":