Fix trimming incomplete sentences in logprobs reroll
| @@ -364,7 +364,7 @@ function onToggleLogprobsPanel() { | ||
| 364 | 364 | function createSwipe(messageId, prompt) { |
| 365 | 365 | // need to call `cleanUpMessage` on our new prompt, because we were working |
| 366 | 366 | // with raw model output and our new prompt is missing trimming/macro replacements |
| 367 | 367 | const cleanedPrompt = cleanUpMessage(prompt, false, false, true); |
| 368 | 368 | |
| 369 | 369 | const msg = chat[messageId]; |
| 370 | 370 | const newSwipeInfo = { |