Sorry we don't know why lint didn't work

82b885e5ef06b61073b6c4cda073b1bf65f73dfb

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

2 files changed, +10 -10Ignore whitespace
public/script.js+9 -9
@@ -3320,7 +3320,7 @@ class StreamingProcessor {
33203320 isImpersonate: false,
33213321 isContinue: false,
33223322 displayIncompleteSentences: true,
33233323 stoppingStrings: this.stoppingStrings,
33243324 });
33253325 }
33263326 }
@@ -3330,7 +3330,7 @@ class StreamingProcessor {
33303330 isImpersonate: isImpersonate,
33313331 isContinue: isContinue,
33323332 displayIncompleteSentences: !isFinal,
33333333 stoppingStrings: this.stoppingStrings,
33343334 });
33353335
33363336 const charsToBalance = ['*', '"', '```'];
@@ -3660,7 +3660,7 @@ export async function generateRaw(prompt, api, instructOverride, quietToLoud, sy
36603660 isImpersonate: false,
36613661 isContinue: false,
36623662 displayIncompleteSentences: true,
36633663 includeUserPromptBias: false,
36643664 });
36653665
36663666 if (!message) {
@@ -4866,7 +4866,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
48664866 getMessage: getMessage,
48674867 isImpersonate: isImpersonate,
48684868 isContinue: isContinue,
48694869 displayIncompleteSentences: false,
48704870 });
48714871
48724872 if (isContinue) {
@@ -4955,7 +4955,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
49554955 getMessage: getMessage,
49564956 isImpersonate: isImpersonate,
49574957 isContinue: isContinue,
49584958 displayIncompleteSentences: false,
49594959 });
49604960
49614961
@@ -4976,7 +4976,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
49764976 getMessage: getMessage,
49774977 isImpersonate: isImpersonate,
49784978 isContinue: isContinue,
49794979 displayIncompleteSentences: displayIncomplete,
49804980 });
49814981
49824982 if (isImpersonate) {
@@ -5947,7 +5947,7 @@ function extractMultiSwipes(data, type) {
59475947 getMessage: text,
59485948 isImpersonate: false,
59495949 isContinue: false,
59505950 displayIncompleteSentences: false,
59515951 });
59525952
59535953 swipes.push(cleanedText);
@@ -5970,7 +5970,7 @@ function extractMultiSwipes(data, type) {
59705970 *
59715971 * @returns {string} The formatted message
59725972 */
59735973export function cleanUpMessage({ getMessage, isImpersonate, isContinue, displayIncompleteSentences = false, stoppingStrings = null, includeUserPromptBias = true, trimNames = true } = {}) {
59745974 if (arguments.length > 0 && typeof arguments[0] !== 'object') {
59755975 console.trace('cleanUpMessage called with positional arguments. Please use an object instead.');
59765976 [getMessage, isImpersonate, isContinue, displayIncompleteSentences, stoppingStrings, includeUserPromptBias] = arguments;
@@ -6035,7 +6035,7 @@ export function cleanUpMessage({ getMessage, isImpersonate, isContinue, displayI
60356035 }
60366036
60376037 // account for case where the name is after a newline
60386038 let startIndex = getMessage.indexOf(`\n${nameToTrim}:`);
60396039 if (nameToTrim && startIndex >= 0) {
60406040 getMessage = getMessage.substring(startIndex + nameToTrim.length + 2);
60416041 }
public/scripts/logprobs.js+1 -1
@@ -372,7 +372,7 @@ function createSwipe(messageId, prompt) {
372372 getMessage: prompt,
373373 isImpersonate: false,
374374 isContinue: false,
375375 displayIncompleteSentences: true,
376376 });
377377
378378 const msg = chat[messageId];