Skip to content

Commit

Permalink
increase token limit
Browse files Browse the repository at this point in the history
  • Loading branch information
infwinston committed Nov 10, 2023
1 parent f5467eb commit ed51a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastchat/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
INACTIVE_MSG = "THIS SESSION HAS BEEN INACTIVE FOR TOO LONG. PLEASE REFRESH THIS PAGE."
SLOW_MODEL_MSG = '⚠️ Both models will show the responses all at once. Please stay patient as it may take over 30 seconds.'
# Maximum input length
INPUT_CHAR_LEN_LIMIT = int(os.getenv("FASTCHAT_INPUT_CHAR_LEN_LIMIT", 3072))
INPUT_CHAR_LEN_LIMIT = int(os.getenv("FASTCHAT_INPUT_CHAR_LEN_LIMIT", 12000))
# Maximum conversation turns
CONVERSATION_TURN_LIMIT = 50
# Session expiration time
Expand Down

0 comments on commit ed51a27

Please sign in to comment.