Merge branch 'staging' into chore/lintAndDocumentLogprobs

This commit is contained in:
Cohee
2024-11-17 20:10:28 +02:00
4 changed files with 1080 additions and 848 deletions

View File

@ -364,7 +364,7 @@ function onToggleLogprobsPanel() {
function createSwipe(messageId, prompt) {
// need to call `cleanUpMessage` on our new prompt, because we were working
// with raw model output and our new prompt is missing trimming/macro replacements
const cleanedPrompt = cleanUpMessage(prompt, false, false);
const cleanedPrompt = cleanUpMessage(prompt, false, false, true);
const msg = chat[messageId];
const newSwipeInfo = {