Merge branch 'staging' into persona-lorebook

bab9d3c74bfa2277f18a7b0af2d6213e95872c22

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

2 files changed, +2 -1Ignore whitespace
public/index.html+1 -1
@@ -1425,7 +1425,7 @@
1425 <input class="neo-range-slider" type="range" id="dry_allowed_length_textgenerationwebui" min="1" max="20" step="1" />1425 <input class="neo-range-slider" type="range" id="dry_allowed_length_textgenerationwebui" min="1" max="20" step="1" />
1426 <input class="neo-range-input" type="number" min="1" max="20" step="1" data-for="dry_allowed_length_textgenerationwebui" id="dry_allowed_length_counter_textgenerationwebui">1426 <input class="neo-range-input" type="number" min="1" max="20" step="1" data-for="dry_allowed_length_textgenerationwebui" id="dry_allowed_length_counter_textgenerationwebui">
1427 </div>1427 </div>
1428 <div class="alignItemsCenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0" data-tg-type="llamacpp, koboldcpp, tabby">1428 <div class="alignItemsCenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0" data-tg-type="llamacpp, koboldcpp, tabby, aphrodite">
1429 <small data-i18n="Penalty Range">Penalty Range</small>1429 <small data-i18n="Penalty Range">Penalty Range</small>
1430 <input class="neo-range-slider" type="range" id="dry_penalty_last_n_textgenerationwebui" min="0" max="8192" step="1" />1430 <input class="neo-range-slider" type="range" id="dry_penalty_last_n_textgenerationwebui" min="0" max="8192" step="1" />
1431 <input class="neo-range-input" type="number" min="0" max="8192" step="1" data-for="dry_penalty_last_n_textgenerationwebui" id="dry_penalty_last_n_counter_textgenerationwebui">1431 <input class="neo-range-input" type="number" min="0" max="8192" step="1" data-for="dry_penalty_last_n_textgenerationwebui" id="dry_penalty_last_n_counter_textgenerationwebui">
public/scripts/textgen-settings.js+1 -0
@@ -1268,6 +1268,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
12681268
1269 if (settings.type === KOBOLDCPP) {1269 if (settings.type === KOBOLDCPP) {
1270 params.grammar = settings.grammar_string;1270 params.grammar = settings.grammar_string;
1271 params.trim_stop = true;
1271 }1272 }
12721273
1273 if (settings.type === HUGGINGFACE) {1274 if (settings.type === HUGGINGFACE) {