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