default MAX_GPT_MODEL_TOKENS to 8192.

tests failed to run because could not parse missing env var MAX_TOKENS
This commit is contained in:
Nicholas Albion
2023-09-08 03:04:50 +10:00
parent 69eeae5606
commit 3423f0683e

View File

@@ -1,5 +1,5 @@
import os
MAX_GPT_MODEL_TOKENS = int(os.getenv('MAX_TOKENS'))
MAX_GPT_MODEL_TOKENS = int(os.getenv('MAX_TOKENS', 8192))
MIN_TOKENS_FOR_GPT_RESPONSE = 600
MAX_QUESTIONS = 5
END_RESPONSE = "EVERYTHING_CLEAR"