diff --git a/public/scripts/instruct-mode.js b/public/scripts/instruct-mode.js index 7edfb1e0b..56b16f560 100644 --- a/public/scripts/instruct-mode.js +++ b/public/scripts/instruct-mode.js @@ -245,10 +245,10 @@ export function autoSelectInstructPreset(modelId) { * Converts instruct mode sequences to an array of stopping strings. * @param {Object} options * @param {InstructSettings?} [options.customInstruct=null] - Custom instruct settings. - * @param {boolean?} [options.useStopStrings=false] - Decides whether to use "Chat Start" and "Example Separator" + * @param {boolean?} [options.useStopStrings] - Decides whether to use "Chat Start" and "Example Separator" * @returns {string[]} Array of instruct mode stopping strings. */ -export function getInstructStoppingSequences({ customInstruct = null, useStopStrings = false } = {}) { +export function getInstructStoppingSequences({ customInstruct = null, useStopStrings = null } = {}) { const instruct = structuredClone(customInstruct ?? power_user.instruct); /**