Hard code include_stop_str_in_output

28837ff883256638142600cbab6ca06f055d7bf7

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

1 files changed, +2 -4Showing whitespace changes
public/scripts/textgen-settings.js+2 -4
@@ -187,7 +187,6 @@ const settings = {
187187 openrouter_allow_fallbacks: true,
188188 xtc_threshold: 0.1,
189189 xtc_probability: 0,
190- include_stop_str_in_output: false,
191190};
192191
193192export let textgenerationwebui_banned_in_macros = [];
@@ -260,7 +259,6 @@ export const setting_names = [
260259 'openrouter_allow_fallbacks',
261260 'xtc_threshold',
262261 'xtc_probability',
263- 'include_stop_str_in_output',
264262];
265263
266264const DYNATEMP_BLOCK = document.getElementById('dynatemp_block_ooba');
@@ -1221,11 +1219,11 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
12211219 'ignore_eos': settings.ignore_eos_token,
12221220 'min_tokens': settings.min_length,
12231221 'skip_special_tokens': settings.skip_special_tokens,
1224- 'include_stop_str_in_output': settings.include_stop_str_in_output,
12251222 'spaces_between_special_tokens': settings.spaces_between_special_tokens,
12261223 'guided_grammar': settings.grammar_string,
12271224 'guided_json': settings.json_schema,
12281225 'early_stopping': false, // hackhacks
1226+ 'include_stop_str_in_output': false,
12291227 };
12301228
12311229 if (settings.type === OPENROUTER) {