      return html`
          <div>
            <p key=${index}><strong>${template(user)}:</strong> ${message}</p>
            ${
              fromBot && ttsVoice.value
              && html`<button disabled=${generating.value} onclick=${e => ttsChatLine(e, index, text)} aria-label=${ttsChatLineActiveIx.value === index ? 'Pause' : 'Play'}>${ ttsChatLineActiveIx.value === index ? '⏸️' : '▶️' }</div>`
            }
          </div>
          `;
        } else {
          return isCompletionM