This commit is contained in:
somebody
2022-10-12 13:50:53 -05:00
parent b9581a6a25
commit af41c8b145

View File

@@ -2610,7 +2610,6 @@ function calc_token_usage(
world_info_length,
submit_length
) {
//submit_tokens = token_length(document.getElementById("input_text").value);
let total_tokens = parseInt(document.getElementById('model_max_length_cur').value);
let unused_token_count = total_tokens - memory_length - authors_note_length - world_info_length - prompt_length - game_text_length - submit_length;