Fix useStopStrings defaulting

d93aba5706a084e90dee5b5e26ff85151a00d3d7

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

1 files changed, +2 -2Ignore whitespace
public/scripts/instruct-mode.js+2 -2
@@ -245,10 +245,10 @@ export function autoSelectInstructPreset(modelId) {
245 * Converts instruct mode sequences to an array of stopping strings.245 * Converts instruct mode sequences to an array of stopping strings.
246 * @param {Object} options246 * @param {Object} options
247 * @param {InstructSettings?} [options.customInstruct=null] - Custom instruct settings.247 * @param {InstructSettings?} [options.customInstruct=null] - Custom instruct settings.
248 * @param {boolean?} [options.useStopStrings=false] - Decides whether to use "Chat Start" and "Example Separator"248 * @param {boolean?} [options.useStopStrings] - Decides whether to use "Chat Start" and "Example Separator"
249 * @returns {string[]} Array of instruct mode stopping strings.249 * @returns {string[]} Array of instruct mode stopping strings.
250 */250 */
251export function getInstructStoppingSequences({ customInstruct = null, useStopStrings = false } = {}) {251export function getInstructStoppingSequences({ customInstruct = null, useStopStrings = null } = {}) {
252 const instruct = structuredClone(customInstruct ?? power_user.instruct);252 const instruct = structuredClone(customInstruct ?? power_user.instruct);
253253
254 /**254 /**