diff --git a/public/scripts/utils.js b/public/scripts/utils.js index c7ab423a7..5c8c1eb89 100644 --- a/public/scripts/utils.js +++ b/public/scripts/utils.js @@ -193,7 +193,6 @@ export function sortByCssOrder(a, b) { export function end_trim_to_sentence(input, include_newline = false) { // inspired from https://github.com/kaihordewebui/kaihordewebui.github.io/blob/06b95e6b7720eb85177fbaf1a7f52955d7cdbc02/index.html#L4853-L4867 - console.log(input, include_newline); const punctuation = new Set(['.', '!', '?']); // extend this as you see fit let last = -1;