Cache and sample classification results

This commit is contained in:
Cohee
2023-09-09 17:31:27 +03:00
parent 180dcefe40
commit 4cf6a1f7da
4 changed files with 67 additions and 7 deletions

View File

@ -121,7 +121,7 @@ import {
delay,
restoreCaretPosition,
saveCaretPosition,
end_trim_to_sentence,
trimToEndSentence,
countOccurrences,
isOdd,
sortMoments,
@ -3781,7 +3781,7 @@ function cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncomplete
getMessage = getRegexedString(getMessage, isImpersonate ? regex_placement.USER_INPUT : regex_placement.AI_OUTPUT);
if (!displayIncompleteSentences && power_user.trim_sentences) {
getMessage = end_trim_to_sentence(getMessage, power_user.include_newline);
getMessage = trimToEndSentence(getMessage, power_user.include_newline);
}
if (power_user.collapse_newlines) {