Update translator.py

This commit is contained in:
SirBroccoli
2025-04-15 00:06:14 +02:00
committed by GitHub
parent 653f16bf02
commit 05ef9e4e88

View File

@@ -14,7 +14,7 @@ import traceback
MASTER_BRANCH = "master"
VERBOSE = True
MAX_TOKENS = 10000 #gpt-4-1106-preview
MAX_TOKENS = 20000 #gpt-4-1106-preview
def reportTokens(prompt, model):
encoding = tiktoken.encoding_for_model(model)