Fix trimming incomplete sentences in logprobs reroll

14d5c669b1252cd0833b4c914d204454db01cc49

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/logprobs.js+1 -1
@@ -364,7 +364,7 @@ function onToggleLogprobsPanel() {
364364function createSwipe(messageId, prompt) {
365365 // need to call `cleanUpMessage` on our new prompt, because we were working
366366 // with raw model output and our new prompt is missing trimming/macro replacements
367367 const cleanedPrompt = cleanUpMessage(prompt, false, false, true);
368368
369369 const msg = chat[messageId];
370370 const newSwipeInfo = {