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