Hard code include_stop_str_in_output
| @@ -187,7 +187,6 @@ const settings = { | |||
| 187 | openrouter_allow_fallbacks: true, | 187 | openrouter_allow_fallbacks: true, |
| 188 | xtc_threshold: 0.1, | 188 | xtc_threshold: 0.1, |
| 189 | xtc_probability: 0, | 189 | xtc_probability: 0, |
| 190 | include_stop_str_in_output: false, | ||
| 191 | }; | 190 | }; |
| 192 | 191 | ||
| 193 | export let textgenerationwebui_banned_in_macros = []; | 192 | export let textgenerationwebui_banned_in_macros = []; |
| @@ -260,7 +259,6 @@ export const setting_names = [ | |||
| 260 | 'openrouter_allow_fallbacks', | 259 | 'openrouter_allow_fallbacks', |
| 261 | 'xtc_threshold', | 260 | 'xtc_threshold', |
| 262 | 'xtc_probability', | 261 | 'xtc_probability', |
| 263 | 'include_stop_str_in_output', | ||
| 264 | ]; | 262 | ]; |
| 265 | 263 | ||
| 266 | const DYNATEMP_BLOCK = document.getElementById('dynatemp_block_ooba'); | 264 | const DYNATEMP_BLOCK = document.getElementById('dynatemp_block_ooba'); |
| @@ -1221,11 +1219,11 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate, | |||
| 1221 | 'ignore_eos': settings.ignore_eos_token, | 1219 | 'ignore_eos': settings.ignore_eos_token, |
| 1222 | 'min_tokens': settings.min_length, | 1220 | 'min_tokens': settings.min_length, |
| 1223 | 'skip_special_tokens': settings.skip_special_tokens, | 1221 | 'skip_special_tokens': settings.skip_special_tokens, |
| 1224 | 'include_stop_str_in_output': settings.include_stop_str_in_output, | ||
| 1225 | 'spaces_between_special_tokens': settings.spaces_between_special_tokens, | 1222 | 'spaces_between_special_tokens': settings.spaces_between_special_tokens, |
| 1226 | 'guided_grammar': settings.grammar_string, | 1223 | 'guided_grammar': settings.grammar_string, |
| 1227 | 'guided_json': settings.json_schema, | 1224 | 'guided_json': settings.json_schema, |
| 1228 | 'early_stopping': false, // hack | 1225 | 'early_stopping': false, // hacks |
| 1226 | 'include_stop_str_in_output': false, | ||
| 1229 | }; | 1227 | }; |
| 1230 | 1228 | ||
| 1231 | if (settings.type === OPENROUTER) { | 1229 | if (settings.type === OPENROUTER) { |