ontent).join('') :
            data;
        if (params.value.n_probs > 0 && isArrayMessage) {
          message = html`<${Probabilities} data=${data} />`
        } else {
          message = isCompletionMode ?
            text :
            html`<${Markdownish} text=${template(text)} />`
        }

        const fromBot = user && user === '{{char}}';
        if (fromBot && !lastCharChatLinesIxs.value.includes(index))
          lastCharChatLinesIxs.value.push(index);

        if (user) {
    