Merge branch 'staging' into del-swipe-fix

4e95887803282a8f53b78468f623f721350b7ff4

Wolfsblvt <wolfsblvt@gmail.com>

5 files changed, +183 -214Ignore whitespace
public/index.html+167 -181
@@ -98,12 +98,12 @@
98 </select>98 </select>
99 <div class="flex-container marginLeft5 ">99 <div class="flex-container marginLeft5 ">
100 <input type="file" hidden data-preset-manager-file="kobold" accept=".json, .settings">100 <input type="file" hidden data-preset-manager-file="kobold" accept=".json, .settings">
101 <i data-newbie-hidden data-preset-manager-update="kobold" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>101 <i data-preset-manager-update="kobold" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
102 <i data-newbie-hidden data-preset-manager-new="kobold" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>102 <i data-preset-manager-new="kobold" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
103 <i data-newbie-hidden data-preset-manager-import="kobold" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>103 <i data-preset-manager-import="kobold" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
104 <i data-newbie-hidden data-preset-manager-export="kobold" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>104 <i data-preset-manager-export="kobold" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
105 <i data-newbie-hidden data-preset-manager-restore="kobold" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>105 <i data-preset-manager-restore="kobold" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
106 <i data-newbie-hidden data-preset-manager-delete="kobold" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>106 <i data-preset-manager-delete="kobold" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
107 </div>107 </div>
108 </div>108 </div>
109 </div>109 </div>
@@ -120,12 +120,12 @@
120 </select>120 </select>
121 <div class="flex-container marginLeft5 ">121 <div class="flex-container marginLeft5 ">
122 <input type="file" hidden data-preset-manager-file="novel" accept=".json, .settings">122 <input type="file" hidden data-preset-manager-file="novel" accept=".json, .settings">
123 <i data-newbie-hidden data-preset-manager-update="novel" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>123 <i data-preset-manager-update="novel" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
124 <i data-newbie-hidden data-preset-manager-new="novel" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>124 <i data-preset-manager-new="novel" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
125 <i data-newbie-hidden data-preset-manager-import="novel" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>125 <i data-preset-manager-import="novel" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
126 <i data-newbie-hidden data-preset-manager-export="novel" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>126 <i data-preset-manager-export="novel" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
127 <i data-newbie-hidden data-preset-manager-restore="novel" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>127 <i data-preset-manager-restore="novel" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
128 <i data-newbie-hidden data-preset-manager-delete="novel" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>128 <i data-preset-manager-delete="novel" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
129 </div>129 </div>
130 </div>130 </div>
131 </div>131 </div>
@@ -140,9 +140,9 @@
140 <input id="openai_preset_import_file" type="file" accept=".json,.settings" hidden />140 <input id="openai_preset_import_file" type="file" accept=".json,.settings" hidden />
141 <i id="update_oai_preset" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>141 <i id="update_oai_preset" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
142 <i id="new_oai_preset" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>142 <i id="new_oai_preset" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
143 <i data-newbie-hidden id="import_oai_preset" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>143 <i id="import_oai_preset" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
144 <i data-newbie-hidden id="export_oai_preset" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>144 <i id="export_oai_preset" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
145 <i data-newbie-hidden id="delete_oai_preset" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>145 <i id="delete_oai_preset" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
146 </div>146 </div>
147 </div>147 </div>
148 </div>148 </div>
@@ -154,17 +154,17 @@
154 </select>154 </select>
155 <div class="flex-container marginLeft5 ">155 <div class="flex-container marginLeft5 ">
156 <input type="file" hidden data-preset-manager-file="textgenerationwebui" accept=".json, .settings">156 <input type="file" hidden data-preset-manager-file="textgenerationwebui" accept=".json, .settings">
157 <i data-newbie-hidden data-preset-manager-update="textgenerationwebui" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>157 <i data-preset-manager-update="textgenerationwebui" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
158 <i data-newbie-hidden data-preset-manager-new="textgenerationwebui" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>158 <i data-preset-manager-new="textgenerationwebui" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
159 <i data-newbie-hidden data-preset-manager-import="textgenerationwebui" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>159 <i data-preset-manager-import="textgenerationwebui" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
160 <i data-newbie-hidden data-preset-manager-export="textgenerationwebui" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>160 <i data-preset-manager-export="textgenerationwebui" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
161 <i data-newbie-hidden data-preset-manager-restore="textgenerationwebui" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>161 <i data-preset-manager-restore="textgenerationwebui" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
162 <i data-newbie-hidden data-preset-manager-delete="textgenerationwebui" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>162 <i data-preset-manager-delete="textgenerationwebui" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
163 </div>163 </div>
164 </div>164 </div>
165 </div>165 </div>
166 </div>166 </div>
167 <div data-newbie-hidden id="ai_module_block_novel" class="width100p">167 <div id="ai_module_block_novel" class="width100p">
168 <div class="range-block">168 <div class="range-block">
169 <div class="range-block-title justifyLeft" data-i18n="AI Module">169 <div class="range-block-title justifyLeft" data-i18n="AI Module">
170 AI Module170 AI Module
@@ -271,7 +271,7 @@
271 </div>271 </div>
272 </div>272 </div>
273 </div>273 </div>
274 <div data-newbie-hidden class="range-block">274 <div class="range-block">
275 <div class="range-block-title" data-i18n="Rep. Pen. Range.">275 <div class="range-block-title" data-i18n="Rep. Pen. Range.">
276 Rep Pen Range276 Rep Pen Range
277 </div>277 </div>
@@ -284,7 +284,7 @@
284 </div>284 </div>
285 </div>285 </div>
286 </div>286 </div>
287 <div data-newbie-hidden class="range-block">287 <div class="range-block">
288 <div class="range-block-title" data-i18n="Rep. Pen. Slope">288 <div class="range-block-title" data-i18n="Rep. Pen. Slope">
289 Repetition Penalty Slope289 Repetition Penalty Slope
290 </div>290 </div>
@@ -297,7 +297,7 @@
297 </div>297 </div>
298 </div>298 </div>
299 </div>299 </div>
300 <div data-newbie-hidden class="range-block">300 <div class="range-block">
301 <div class="range-block-title" data-i18n="Rep. Pen. Freq.">301 <div class="range-block-title" data-i18n="Rep. Pen. Freq.">
302 Repetition Penalty Frequency302 Repetition Penalty Frequency
303 </div>303 </div>
@@ -310,7 +310,7 @@
310 </div>310 </div>
311 </div>311 </div>
312 </div>312 </div>
313 <div data-newbie-hidden class="range-block">313 <div class="range-block">
314 <div class="range-block-title" data-i18n="Rep. Pen. Presence">314 <div class="range-block-title" data-i18n="Rep. Pen. Presence">
315 Repetition Penalty Presence315 Repetition Penalty Presence
316 </div>316 </div>
@@ -323,7 +323,7 @@
323 </div>323 </div>
324 </div>324 </div>
325 </div>325 </div>
326 <div data-newbie-hidden class="range-block">326 <div class="range-block">
327 <div class="range-block-title" data-i18n="TFS">327 <div class="range-block-title" data-i18n="TFS">
328 TFS328 TFS
329 </div>329 </div>
@@ -336,7 +336,7 @@
336 </div>336 </div>
337 </div>337 </div>
338 </div>338 </div>
339 <div data-newbie-hidden class="range-block">339 <div class="range-block">
340 <div class="range-block-title" data-i18n="Phrase Repetition Penalty">340 <div class="range-block-title" data-i18n="Phrase Repetition Penalty">
341 Phrase Repetition Penalty341 Phrase Repetition Penalty
342 </div>342 </div>
@@ -351,7 +351,7 @@
351 </div>351 </div>
352 </div>352 </div>
353 <div id="range_block_openai">353 <div id="range_block_openai">
354 <div data-newbie-hidden class="range-block">354 <div class="range-block">
355 <label class="checkbox_label">355 <label class="checkbox_label">
356 <input id="oai_max_context_unlocked" type="checkbox" />356 <input id="oai_max_context_unlocked" type="checkbox" />
357 <span data-i18n="Unlocked Context Size">357 <span data-i18n="Unlocked Context Size">
@@ -436,7 +436,7 @@
436 </div>436 </div>
437 </div>437 </div>
438 </div>438 </div>
439 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">439 <div class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">
440 <div class="range-block-title" data-i18n="Frequency Penalty">440 <div class="range-block-title" data-i18n="Frequency Penalty">
441 Frequency Penalty441 Frequency Penalty
442 </div>442 </div>
@@ -449,7 +449,7 @@
449 </div>449 </div>
450 </div>450 </div>
451 </div>451 </div>
452 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">452 <div class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">
453 <div class="range-block-title" data-i18n="Presence Penalty">453 <div class="range-block-title" data-i18n="Presence Penalty">
454 Presence Penalty454 Presence Penalty
455 </div>455 </div>
@@ -462,7 +462,7 @@
462 </div>462 </div>
463 </div>463 </div>
464 </div>464 </div>
465 <div data-newbie-hidden class="range-block" data-source="claude,openrouter,makersuite,cohere,perplexity">465 <div class="range-block" data-source="claude,openrouter,makersuite,cohere,perplexity">
466 <div class="range-block-title" data-i18n="Top K">466 <div class="range-block-title" data-i18n="Top K">
467 Top K467 Top K
468 </div>468 </div>
@@ -475,7 +475,7 @@
475 </div>475 </div>
476 </div>476 </div>
477 </div>477 </div>
478 <div data-newbie-hidden class="range-block" data-source="openai,claude,openrouter,ai21,scale,makersuite,mistralai,custom,cohere,perplexity,groq,01ai">478 <div class="range-block" data-source="openai,claude,openrouter,ai21,scale,makersuite,mistralai,custom,cohere,perplexity,groq,01ai">
479 <div class="range-block-title" data-i18n="Top P">479 <div class="range-block-title" data-i18n="Top P">
480 Top P480 Top P
481 </div>481 </div>
@@ -488,7 +488,7 @@
488 </div>488 </div>
489 </div>489 </div>
490 </div>490 </div>
491 <div data-newbie-hidden class="range-block" data-source="openrouter">491 <div class="range-block" data-source="openrouter">
492 <div class="range-block-title" data-i18n="Repetition Penalty">492 <div class="range-block-title" data-i18n="Repetition Penalty">
493 Repetition Penalty493 Repetition Penalty
494 </div>494 </div>
@@ -501,7 +501,7 @@
501 </div>501 </div>
502 </div>502 </div>
503 </div>503 </div>
504 <div data-newbie-hidden class="range-block" data-source="openrouter">504 <div class="range-block" data-source="openrouter">
505 <div class="range-block-title" data-i18n="Min P">505 <div class="range-block-title" data-i18n="Min P">
506 Min P506 Min P
507 </div>507 </div>
@@ -514,7 +514,7 @@
514 </div>514 </div>
515 </div>515 </div>
516 </div>516 </div>
517 <div data-newbie-hidden class="range-block" data-source="openrouter">517 <div class="range-block" data-source="openrouter">
518 <div class="range-block-title" data-i18n="Top A">518 <div class="range-block-title" data-i18n="Top A">
519 Top A519 Top A
520 </div>520 </div>
@@ -712,7 +712,7 @@
712 </div>712 </div>
713 </div>713 </div>
714 </div>714 </div>
715 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,mistralai,custom,cohere,groq">715 <div class="range-block" data-source="openai,openrouter,mistralai,custom,cohere,groq">
716 <div class="range-block-title justifyLeft" data-i18n="Seed">716 <div class="range-block-title justifyLeft" data-i18n="Seed">
717 Seed717 Seed
718 </div>718 </div>
@@ -736,7 +736,7 @@
736 <input class="neo-range-slider" type="range" id="temp" name="volume" min="0.0" max="4.0" step="0.01">736 <input class="neo-range-slider" type="range" id="temp" name="volume" min="0.0" max="4.0" step="0.01">
737 <input class="neo-range-input" type="number" min="0.0" max="4.0" step="0.01" data-for="temp" id="temp_counter">737 <input class="neo-range-input" type="number" min="0.0" max="4.0" step="0.01" data-for="temp" id="temp_counter">
738 </div>738 </div>
739 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">739 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
740 <small>740 <small>
741 <span data-i18n="Top K">Top K</span>741 <span data-i18n="Top K">Top K</span>
742 <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from.&#13;E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited).&#13;Set to 0 to disable." data-i18n="[title]Top_K_desc"></div>742 <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from.&#13;E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited).&#13;Set to 0 to disable." data-i18n="[title]Top_K_desc"></div>
@@ -744,7 +744,7 @@
744 <input class="neo-range-slider" type="range" id="top_k" name="volume" min="0" max="100" step="1">744 <input class="neo-range-slider" type="range" id="top_k" name="volume" min="0" max="100" step="1">
745 <input class="neo-range-input" type="number" min="0" max="100" step="1" data-for="top_k" id="top_k_counter">745 <input class="neo-range-input" type="number" min="0" max="100" step="1" data-for="top_k" id="top_k_counter">
746 </div>746 </div>
747 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">747 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
748 <small>748 <small>
749 Top P749 Top P
750 <div class="fa-solid fa-circle-info opacity50p" title="Top P (a.k.a. nucleus sampling) adds up all the top tokens required to add up to the target percentage.&#13;E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered.&#13;Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div>750 <div class="fa-solid fa-circle-info opacity50p" title="Top P (a.k.a. nucleus sampling) adds up all the top tokens required to add up to the target percentage.&#13;E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered.&#13;Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div>
@@ -752,7 +752,7 @@
752 <input class="neo-range-slider" type="range" id="top_p" name="volume" min="0" max="1" step="0.01">752 <input class="neo-range-slider" type="range" id="top_p" name="volume" min="0" max="1" step="0.01">
753 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p" id="top_p_counter">753 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p" id="top_p_counter">
754 </div>754 </div>
755 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">755 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
756 <small>756 <small>
757 <span data-i18n="Typical P">Typical P</span>757 <span data-i18n="Typical P">Typical P</span>
758 <div class="fa-solid fa-circle-info opacity50p" title="Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set.&#13;It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content.&#13;Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div>758 <div class="fa-solid fa-circle-info opacity50p" title="Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set.&#13;It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content.&#13;Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div>
@@ -768,7 +768,7 @@
768 <input class="neo-range-slider" type="range" id="min_p" name="volume" min="0" max="1" step="0.001">768 <input class="neo-range-slider" type="range" id="min_p" name="volume" min="0" max="1" step="0.001">
769 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p" id="min_p_counter">769 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p" id="min_p_counter">
770 </div>770 </div>
771 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">771 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
772 <small>772 <small>
773 <span data-i18n="Top A">Top A</span>773 <span data-i18n="Top A">Top A</span>
774 <div class="fa-solid fa-circle-info opacity50p" title="Top A sets a threshold for token selection based on the square of the highest token probability.&#13;E.g if the Top-A value is 0.2 and the top token's probability is 50%, tokens with probabilities below 5% (0.2 * 0.5^2) are excluded.&#13;Set to 0 to disable." data-i18n="[title]Top_A_desc"></div>774 <div class="fa-solid fa-circle-info opacity50p" title="Top A sets a threshold for token selection based on the square of the highest token probability.&#13;E.g if the Top-A value is 0.2 and the top token's probability is 50%, tokens with probabilities below 5% (0.2 * 0.5^2) are excluded.&#13;Set to 0 to disable." data-i18n="[title]Top_A_desc"></div>
@@ -776,7 +776,7 @@
776 <input class="neo-range-slider" type="range" id="top_a" name="volume" min="0" max="1" step="0.001">776 <input class="neo-range-slider" type="range" id="top_a" name="volume" min="0" max="1" step="0.001">
777 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="top_a" id="top_a_counter">777 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="top_a" id="top_a_counter">
778 </div>778 </div>
779 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">779 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
780 <small>780 <small>
781 <span data-i18n="TFS">TFS</span>781 <span data-i18n="TFS">TFS</span>
782 <div class="fa-solid fa-circle-info opacity50p" title="Tail-Free Sampling (TFS) searches for a tail of low-probability tokens in the distribution,&#13;by analyzing the rate of change in token probabilities using derivatives. It retains tokens up to a threshold (e.g., 0.3) based on the normalized second derivative.&#13;The closer to 0, the more discarded tokens. Set to 1.0 to disable." data-i18n="[title]Tail_Free_Sampling_desc"></div>782 <div class="fa-solid fa-circle-info opacity50p" title="Tail-Free Sampling (TFS) searches for a tail of low-probability tokens in the distribution,&#13;by analyzing the rate of change in token probabilities using derivatives. It retains tokens up to a threshold (e.g., 0.3) based on the normalized second derivative.&#13;The closer to 0, the more discarded tokens. Set to 1.0 to disable." data-i18n="[title]Tail_Free_Sampling_desc"></div>
@@ -798,14 +798,14 @@
798 <input class="neo-range-slider" type="range" id="rep_pen_range" name="volume" min="0" max="4096" step="1">798 <input class="neo-range-slider" type="range" id="rep_pen_range" name="volume" min="0" max="4096" step="1">
799 <input class="neo-range-input" type="number" min="0" max="4096" step="1" data-for="rep_pen_range" id="rep_pen_range_counter">799 <input class="neo-range-input" type="number" min="0" max="4096" step="1" data-for="rep_pen_range" id="rep_pen_range_counter">
800 </div>800 </div>
801 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">801 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
802 <small>802 <small>
803 <span data-i18n="Rep. Pen. Slope">Repetition Penalty Slope</span>803 <span data-i18n="Rep. Pen. Slope">Repetition Penalty Slope</span>
804 </small>804 </small>
805 <input class="neo-range-slider" type="range" id="rep_pen_slope" name="volume" min="0" max="10" step="0.01">805 <input class="neo-range-slider" type="range" id="rep_pen_slope" name="volume" min="0" max="10" step="0.01">
806 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="rep_pen_slope" id="rep_pen_slope_counter">806 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="rep_pen_slope" id="rep_pen_slope_counter">
807 </div>807 </div>
808 <div data-newbie-hidden name="miroStatBlock-kobold" class="wide100p">808 <div name="miroStatBlock-kobold" class="wide100p">
809 <h4 class="wide100p textAlignCenter" data-i18n="Mirostat">Mirostat</h4>809 <h4 class="wide100p textAlignCenter" data-i18n="Mirostat">Mirostat</h4>
810 <div class="flex-container flexFlowRow gap10px flexShrink">810 <div class="flex-container flexFlowRow gap10px flexShrink">
811 <div class="alignitemscenter flex-container flexFlowColumn flexGrow flexShrink gap0">811 <div class="alignitemscenter flex-container flexFlowColumn flexGrow flexShrink gap0">
@@ -835,7 +835,7 @@
835 </div>835 </div>
836 <hr class="wide100p">836 <hr class="wide100p">
837 </div>837 </div>
838 <div data-newbie-hidden class="alignitemscenter justifyCenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">838 <div class="alignitemscenter justifyCenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
839 <label class="checkbox_label alignItemsBaseline" for="use_default_badwordsids">839 <label class="checkbox_label alignItemsBaseline" for="use_default_badwordsids">
840 <input id="use_default_badwordsids" type="checkbox" />840 <input id="use_default_badwordsids" type="checkbox" />
841 <span>841 <span>
@@ -844,13 +844,13 @@
844 </span>844 </span>
845 </label>845 </label>
846 </div>846 </div>
847 <div data-newbie-hidden class="alignitemscenter textAlignCenter flexBasis30p flexGrow flexShrink gap0">847 <div class="alignitemscenter textAlignCenter flexBasis30p flexGrow flexShrink gap0">
848 <!-- <hr class="wide100p"> -->848 <!-- <hr class="wide100p"> -->
849 <small data-i18n="Seed">Seed</small>849 <small data-i18n="Seed">Seed</small>
850 <!-- Max value is 2**64 - 1 -->850 <!-- Max value is 2**64 - 1 -->
851 <input type="number" id="seed_kobold" class="text_pole wideMax100px" min="-1" value="-1" max="18446744073709551615" />851 <input type="number" id="seed_kobold" class="text_pole wideMax100px" min="-1" value="-1" max="18446744073709551615" />
852 </div>852 </div>
853 <div data-newbie-hidden id="grammar_block" class="wide100p">853 <div id="grammar_block" class="wide100p">
854 <hr class="wide100p">854 <hr class="wide100p">
855 <h4 class="wide100p textAlignCenter"><span data-i18n="GBNF Grammar">GBNF Grammar</span>855 <h4 class="wide100p textAlignCenter"><span data-i18n="GBNF Grammar">GBNF Grammar</span>
856 <a href="https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md" target="_blank">856 <a href="https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md" target="_blank">
@@ -861,7 +861,7 @@
861 </h4>861 </h4>
862 <textarea id="grammar" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired custom grammar" placeholder="Type in the desired custom grammar"></textarea>862 <textarea id="grammar" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired custom grammar" placeholder="Type in the desired custom grammar"></textarea>
863 </div>863 </div>
864 <div data-newbie-hidden name="KoboldSamplerOrderBlock" class="range-block flexFlowColumn">864 <div name="KoboldSamplerOrderBlock" class="range-block flexFlowColumn">
865 <hr class="wide100p">865 <hr class="wide100p">
866 <div class="range-block-title">866 <div class="range-block-title">
867 <span data-i18n="Samplers Order">Samplers Order</span>867 <span data-i18n="Samplers Order">Samplers Order</span>
@@ -906,7 +906,7 @@
906 </div>906 </div>
907 </div>907 </div>
908 </div><!-- end of kobold settings-->908 </div><!-- end of kobold settings-->
909 <div data-newbie-hidden id="novel_api-settings">909 <div id="novel_api-settings">
910 <div class="range-block">910 <div class="range-block">
911 <div class="range-block-title openai_restorable">911 <div class="range-block-title openai_restorable">
912 <span data-i18n="Preamble">Preamble</span>912 <span data-i18n="Preamble">Preamble</span>
@@ -1117,7 +1117,7 @@
1117 </div>1117 </div>
1118 </div><!-- end of novel settings-->1118 </div><!-- end of novel settings-->
1119 <div id="textgenerationwebui_api-settings">1119 <div id="textgenerationwebui_api-settings">
1120 <div data-newbie-hidden class="flex-container justifyCenter">1120 <div class="flex-container justifyCenter">
1121 <small class="flex-container alignitemscenter">1121 <small class="flex-container alignitemscenter">
1122 <div id="samplerResetButton" class="menu_button whitespacenowrap" data-i18n="Neutralize Samplers">Neutralize Samplers</div>1122 <div id="samplerResetButton" class="menu_button whitespacenowrap" data-i18n="Neutralize Samplers">Neutralize Samplers</div>
1123 <div class="fa-solid fa-circle-info opacity50p" title="Set all samplers to their neutral/disabled state." data-i18n="[title]Set all samplers to their neutral/disabled state."></div>1123 <div class="fa-solid fa-circle-info opacity50p" title="Set all samplers to their neutral/disabled state." data-i18n="[title]Set all samplers to their neutral/disabled state."></div>
@@ -1128,7 +1128,7 @@
1128 <div class="fa-solid fa-circle-info opacity50p" title="Customize displayed samplers or add custom samplers." data-i18n="[title]Customize displayed samplers or add custom samplers."></div>1128 <div class="fa-solid fa-circle-info opacity50p" title="Customize displayed samplers or add custom samplers." data-i18n="[title]Customize displayed samplers or add custom samplers."></div>
1129 </small>1129 </small>
1130 </div>1130 </div>
1131 <div data-newbie-hidden data-tg-type="mancer, vllm, aphrodite, tabby, infermaticai" class="flex-container flexFlowColumn alignitemscenter flexBasis100p flexGrow flexShrink gap0">1131 <div data-tg-type="mancer, vllm, aphrodite, tabby, infermaticai" class="flex-container flexFlowColumn alignitemscenter flexBasis100p flexGrow flexShrink gap0">
1132 <small data-i18n="Multiple swipes per generation">Multiple swipes per generation</small>1132 <small data-i18n="Multiple swipes per generation">Multiple swipes per generation</small>
1133 <input type="number" id="n_textgenerationwebui" class="text_pole textAlignCenter" min="1" value="1" step="1" />1133 <input type="number" id="n_textgenerationwebui" class="text_pole textAlignCenter" min="1" value="1" step="1" />
1134 </div>1134 </div>
@@ -1141,7 +1141,7 @@
1141 <input class="neo-range-slider" type="range" id="temp_textgenerationwebui" name="volume" min="0.0" max="5.0" step="0.01" x-setting-id="temp">1141 <input class="neo-range-slider" type="range" id="temp_textgenerationwebui" name="volume" min="0.0" max="5.0" step="0.01" x-setting-id="temp">
1142 <input class="neo-range-input" type="number" min="0.0" max="5.0" step="0.01" data-for="temp_textgenerationwebui" id="temp_counter_textgenerationwebui">1142 <input class="neo-range-input" type="number" min="0.0" max="5.0" step="0.01" data-for="temp_textgenerationwebui" id="temp_counter_textgenerationwebui">
1143 </div>1143 </div>
1144 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1144 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1145 <small>1145 <small>
1146 <span data-i18n="Top K">Top K</span>1146 <span data-i18n="Top K">Top K</span>
1147 <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from.&#13;E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited).&#13;Set to 0 (or -1, depending on your backend) to disable." data-i18n="[title]Top_K_desc"></div>1147 <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from.&#13;E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited).&#13;Set to 0 (or -1, depending on your backend) to disable." data-i18n="[title]Top_K_desc"></div>
@@ -1149,7 +1149,7 @@
1149 <input class="neo-range-slider" type="range" id="top_k_textgenerationwebui" name="volume" min="-1" max="200" step="1">1149 <input class="neo-range-slider" type="range" id="top_k_textgenerationwebui" name="volume" min="-1" max="200" step="1">
1150 <input class="neo-range-input" type="number" min="-1" max="200" step="1" data-for="top_k_textgenerationwebui" id="top_k_counter_textgenerationwebui">1150 <input class="neo-range-input" type="number" min="-1" max="200" step="1" data-for="top_k_textgenerationwebui" id="top_k_counter_textgenerationwebui">
1151 </div>1151 </div>
1152 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1152 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1153 <small>1153 <small>
1154 <span data-i18n="Top P">Top P</span>1154 <span data-i18n="Top P">Top P</span>
1155 <div class="fa-solid fa-circle-info opacity50p" title="Top P (a.k.a. nucleus sampling) adds up all the top tokens required to add up to the target percentage.&#13;E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered.&#13;Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div>1155 <div class="fa-solid fa-circle-info opacity50p" title="Top P (a.k.a. nucleus sampling) adds up all the top tokens required to add up to the target percentage.&#13;E.g If the Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered.&#13;Set to 1.0 to disable." data-i18n="[title]Top_P_desc"></div>
@@ -1157,7 +1157,7 @@
1157 <input class="neo-range-slider" type="range" id="top_p_textgenerationwebui" name="volume" min="0" max="1" step="0.01">1157 <input class="neo-range-slider" type="range" id="top_p_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
1158 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p_textgenerationwebui" id="top_p_counter_textgenerationwebui">1158 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p_textgenerationwebui" id="top_p_counter_textgenerationwebui">
1159 </div>1159 </div>
1160 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1160 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1161 <small>1161 <small>
1162 <span data-i18n="Typical P">Typical P</span>1162 <span data-i18n="Typical P">Typical P</span>
1163 <div class="fa-solid fa-circle-info opacity50p" title="Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set.&#13;It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content.&#13;Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div>1163 <div class="fa-solid fa-circle-info opacity50p" title="Typical P Sampling prioritizes tokens based on their deviation from the average entropy of the set.&#13;It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content.&#13;Set to 1.0 to disable." data-i18n="[title]Typical_P_desc"></div>
@@ -1173,7 +1173,7 @@
1173 <input class="neo-range-slider" type="range" id="min_p_textgenerationwebui" name="volume" min="0" max="1" step="0.001">1173 <input class="neo-range-slider" type="range" id="min_p_textgenerationwebui" name="volume" min="0" max="1" step="0.001">
1174 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p_textgenerationwebui" id="min_p_counter_textgenerationwebui">1174 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p_textgenerationwebui" id="min_p_counter_textgenerationwebui">
1175 </div>1175 </div>
1176 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1176 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1177 <small>1177 <small>
1178 <span data-i18n="Top A">Top A</span>1178 <span data-i18n="Top A">Top A</span>
1179 <div class="fa-solid fa-circle-info opacity50p" title="Top A sets a threshold for token selection based on the square of the highest token probability.&#13;E.g if the Top-A value is 0.2 and the top token's probability is 50%, tokens with probabilities below 5% (0.2 * 0.5^2) are excluded.&#13;Set to 0 to disable." data-i18n="[title]Top_A_desc"></div>1179 <div class="fa-solid fa-circle-info opacity50p" title="Top A sets a threshold for token selection based on the square of the highest token probability.&#13;E.g if the Top-A value is 0.2 and the top token's probability is 50%, tokens with probabilities below 5% (0.2 * 0.5^2) are excluded.&#13;Set to 0 to disable." data-i18n="[title]Top_A_desc"></div>
@@ -1181,7 +1181,7 @@
1181 <input class="neo-range-slider" type="range" id="top_a_textgenerationwebui" name="volume" min="0" max="1" step="0.01">1181 <input class="neo-range-slider" type="range" id="top_a_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
1182 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_a_textgenerationwebui" id="top_a_counter_textgenerationwebui">1182 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_a_textgenerationwebui" id="top_a_counter_textgenerationwebui">
1183 </div>1183 </div>
1184 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1184 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1185 <small>1185 <small>
1186 <span data-i18n="TFS">TFS</span>1186 <span data-i18n="TFS">TFS</span>
1187 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Tail_Free_Sampling_desc" title="Tail-Free Sampling (TFS) searches for a tail of low-probability tokens in the distribution,&#13;by analyzing the rate of change in token probabilities using derivatives. It retains tokens up to a threshold (e.g., 0.3) based on the normalized second derivative.&#13;The closer to 0, the more discarded tokens. Set to 1.0 to disable."></div>1187 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Tail_Free_Sampling_desc" title="Tail-Free Sampling (TFS) searches for a tail of low-probability tokens in the distribution,&#13;by analyzing the rate of change in token probabilities using derivatives. It retains tokens up to a threshold (e.g., 0.3) based on the normalized second derivative.&#13;The closer to 0, the more discarded tokens. Set to 1.0 to disable."></div>
@@ -1189,7 +1189,7 @@
1189 <input class="neo-range-slider" type="range" id="tfs_textgenerationwebui" name="volume" min="0" max="1" step="0.01">1189 <input class="neo-range-slider" type="range" id="tfs_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
1190 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="tfs_textgenerationwebui" id="tfs_counter_textgenerationwebui">1190 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="tfs_textgenerationwebui" id="tfs_counter_textgenerationwebui">
1191 </div>1191 </div>
1192 <div data-newbie-hidden data-tg-type="ooba,mancer" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1192 <div data-tg-type="ooba,mancer" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1193 <small>1193 <small>
1194 <span data-i18n="Epsilon Cutoff">Epsilon Cutoff</span>1194 <span data-i18n="Epsilon Cutoff">Epsilon Cutoff</span>
1195 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled" title="Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled.&#13;In units of 1e-4; a reasonable value is 3.&#13;Set to 0 to disable."></div>1195 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled" title="Epsilon cutoff sets a probability floor below which tokens are excluded from being sampled.&#13;In units of 1e-4; a reasonable value is 3.&#13;Set to 0 to disable."></div>
@@ -1197,7 +1197,7 @@
1197 <input class="neo-range-slider" type="range" id="epsilon_cutoff_textgenerationwebui" name="volume" min="0" max="9" step="0.01">1197 <input class="neo-range-slider" type="range" id="epsilon_cutoff_textgenerationwebui" name="volume" min="0" max="9" step="0.01">
1198 <input class="neo-range-input" type="number" min="0" max="9" step="0.01" data-for="epsilon_cutoff_textgenerationwebui" id="epsilon_cutoff_counter_textgenerationwebui">1198 <input class="neo-range-input" type="number" min="0" max="9" step="0.01" data-for="epsilon_cutoff_textgenerationwebui" id="epsilon_cutoff_counter_textgenerationwebui">
1199 </div>1199 </div>
1200 <div data-newbie-hidden data-tg-type="ooba,mancer" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1200 <div data-tg-type="ooba,mancer" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1201 <small>1201 <small>
1202 <span data-i18n="Eta Cutoff">Eta Cutoff</span>1202 <span data-i18n="Eta Cutoff">Eta Cutoff</span>
1203 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Eta_Cutoff_desc" title="Eta cutoff is the main parameter of the special Eta Sampling technique.&#13;In units of 1e-4; a reasonable value is 3.&#13;Set to 0 to disable.&#13;See the paper Truncation Sampling as Language Model Desmoothing by Hewitt et al. (2022) for details."></div>1203 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Eta_Cutoff_desc" title="Eta cutoff is the main parameter of the special Eta Sampling technique.&#13;In units of 1e-4; a reasonable value is 3.&#13;Set to 0 to disable.&#13;See the paper Truncation Sampling as Language Model Desmoothing by Hewitt et al. (2022) for details."></div>
@@ -1225,53 +1225,53 @@
1225 <input class="neo-range-slider" type="range" id="rep_pen_decay_textgenerationwebui" name="volume" min="-1" max="8192" step="1">1225 <input class="neo-range-slider" type="range" id="rep_pen_decay_textgenerationwebui" name="volume" min="-1" max="8192" step="1">
1226 <input class="neo-range-input" type="number" min="-1" max="8192" step="1" data-for="rep_pen_decay_textgenerationwebui" id="rep_pen_decay_counter_textgenerationwebui">1226 <input class="neo-range-input" type="number" min="-1" max="8192" step="1" data-for="rep_pen_decay_textgenerationwebui" id="rep_pen_decay_counter_textgenerationwebui">
1227 </div>1227 </div>
1228 <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1228 <div data-tg-type="ooba" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1229 <small data-i18n="Encoder Rep. Pen.">Encoder Penalty</small>1229 <small data-i18n="Encoder Rep. Pen.">Encoder Penalty</small>
1230 <input class="neo-range-slider" type="range" id="encoder_rep_pen_textgenerationwebui" name="volume" min="0.8" max="1.5" step="0.01" />1230 <input class="neo-range-slider" type="range" id="encoder_rep_pen_textgenerationwebui" name="volume" min="0.8" max="1.5" step="0.01" />
1231 <input class="neo-range-input" type="number" min="0.8" max="1.5" step="0.01" data-for="encoder_rep_pen_textgenerationwebui" id="encoder_rep_pen_counter_textgenerationwebui">1231 <input class="neo-range-input" type="number" min="0.8" max="1.5" step="0.01" data-for="encoder_rep_pen_textgenerationwebui" id="encoder_rep_pen_counter_textgenerationwebui">
1232 </div>1232 </div>
1233 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1233 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1234 <small data-i18n="Frequency Penalty">Frequency Penalty</small>1234 <small data-i18n="Frequency Penalty">Frequency Penalty</small>
1235 <input class="neo-range-slider" type="range" id="freq_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />1235 <input class="neo-range-slider" type="range" id="freq_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />
1236 <input class="neo-range-input" type="number" data-for="freq_pen_textgenerationwebui" min="-2" max="2" step="0.01" id="freq_pen_counter_textgenerationwebui">1236 <input class="neo-range-input" type="number" data-for="freq_pen_textgenerationwebui" min="-2" max="2" step="0.01" id="freq_pen_counter_textgenerationwebui">
1237 </div>1237 </div>
1238 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1238 <div class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1239 <small data-i18n="Presence Penalty">Presence Penalty</small>1239 <small data-i18n="Presence Penalty">Presence Penalty</small>
1240 <input class="neo-range-slider" type="range" id="presence_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />1240 <input class="neo-range-slider" type="range" id="presence_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />
1241 <input class="neo-range-input" type="number" min="-2" max="2" step="0.01" data-for="presence_pen_textgenerationwebui" id="presence_pen_counter_textgenerationwebui">1241 <input class="neo-range-input" type="number" min="-2" max="2" step="0.01" data-for="presence_pen_textgenerationwebui" id="presence_pen_counter_textgenerationwebui">
1242 </div>1242 </div>
1243 <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1243 <div data-tg-type="ooba" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1244 <small data-i18n="No Repeat Ngram Size">No Repeat Ngram Size</small>1244 <small data-i18n="No Repeat Ngram Size">No Repeat Ngram Size</small>
1245 <input class="neo-range-slider" type="range" id="no_repeat_ngram_size_textgenerationwebui" name="volume" min="0" max="20" step="1">1245 <input class="neo-range-slider" type="range" id="no_repeat_ngram_size_textgenerationwebui" name="volume" min="0" max="20" step="1">
1246 <input class="neo-range-input" type="number" min="0" max="20" step="1" data-for="no_repeat_ngram_size_textgenerationwebui" id="no_repeat_ngram_size_counter_textgenerationwebui">1246 <input class="neo-range-input" type="number" min="0" max="20" step="1" data-for="no_repeat_ngram_size_textgenerationwebui" id="no_repeat_ngram_size_counter_textgenerationwebui">
1247 </div>1247 </div>
1248 <div data-newbie-hidden data-tg-type="tabby" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1248 <div data-tg-type="tabby" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1249 <small data-i18n="Skew">Skew</small>1249 <small data-i18n="Skew">Skew</small>
1250 <input class="neo-range-slider" type="range" id="skew_textgenerationwebui" name="volume" min="-5" max="5" step="0.01" />1250 <input class="neo-range-slider" type="range" id="skew_textgenerationwebui" name="volume" min="-5" max="5" step="0.01" />
1251 <input class="neo-range-input" type="number" min="-5" max="5" step="0.01" data-for="skew_textgenerationwebui" id="skew_counter_textgenerationwebui">1251 <input class="neo-range-input" type="number" min="-5" max="5" step="0.01" data-for="skew_textgenerationwebui" id="skew_counter_textgenerationwebui">
1252 </div>1252 </div>
1253 <div data-newbie-hidden data-tg-type="mancer, ooba, tabby, dreamgen, infermaticai" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1253 <div data-tg-type="mancer, ooba, tabby, dreamgen, infermaticai" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1254 <small data-i18n="Min Length">Min Length</small>1254 <small data-i18n="Min Length">Min Length</small>
1255 <input class="neo-range-slider" type="range" id="min_length_textgenerationwebui" name="volume" min="0" max="2000" step="1" />1255 <input class="neo-range-slider" type="range" id="min_length_textgenerationwebui" name="volume" min="0" max="2000" step="1" />
1256 <input class="neo-range-input" type="number" min="0" max="2000" step="1" data-for="min_length_textgenerationwebui" id="min_length_counter_textgenerationwebui">1256 <input class="neo-range-input" type="number" min="0" max="2000" step="1" data-for="min_length_textgenerationwebui" id="min_length_counter_textgenerationwebui">
1257 </div>1257 </div>
1258 <div data-newbie-hidden data-tg-type="ooba" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">1258 <div data-tg-type="ooba" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
1259 <small data-i18n="Max Tokens Second">Maximum tokens/second</small>1259 <small data-i18n="Max Tokens Second">Maximum tokens/second</small>
1260 <input class="neo-range-slider" type="range" id="max_tokens_second_textgenerationwebui" name="volume" min="0" max="20" step="1" />1260 <input class="neo-range-slider" type="range" id="max_tokens_second_textgenerationwebui" name="volume" min="0" max="20" step="1" />
1261 <input class="neo-range-input" type="number" min="0" max="20" step="1" data-for="max_tokens_second_textgenerationwebui" id="max_tokens_second_counter_textgenerationwebui">1261 <input class="neo-range-input" type="number" min="0" max="20" step="1" data-for="max_tokens_second_textgenerationwebui" id="max_tokens_second_counter_textgenerationwebui">
1262 </div>1262 </div>
1263 <div data-newbie-hidden data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" id="smoothingBlock" name="smoothingBlock" class="wide100p">1263 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" id="smoothingBlock" name="smoothingBlock" class="wide100p">
1264 <h4 class="wide100p textAlignCenter">1264 <h4 class="wide100p textAlignCenter">
1265 <label data-i18n="Smooth Sampling">Smooth Sampling</label>1265 <label data-i18n="Smooth Sampling">Smooth Sampling</label>
1266 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Smooth_Sampling_desc" title="Allows you to use quadratic/cubic transformations to adjust the distribution. Lower Smoothing Factor values will be more creative, usually between 0.2-0.3 is the sweetspot (assuming the curve = 1). Higher Smoothing Curve values will make the curve steeper, which will punish low probability choices more aggressively. 1.0 curve is equivalent to only using Smoothing Factor."></div>1266 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Smooth_Sampling_desc" title="Allows you to use quadratic/cubic transformations to adjust the distribution. Lower Smoothing Factor values will be more creative, usually between 0.2-0.3 is the sweetspot (assuming the curve = 1). Higher Smoothing Curve values will make the curve steeper, which will punish low probability choices more aggressively. 1.0 curve is equivalent to only using Smoothing Factor."></div>
1267 </h4>1267 </h4>
1268 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" class="flex-container flexFlowRow gap10px flexShrink">1268 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" class="flex-container flexFlowRow gap10px flexShrink">
1269 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">1269 <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
1270 <small data-i18n="Smoothing Factor">Smoothing Factor</small>1270 <small data-i18n="Smoothing Factor">Smoothing Factor</small>
1271 <input class="neo-range-slider" type="range" id="smoothing_factor_textgenerationwebui" name="volume" min="0" max="10" step="0.01" />1271 <input class="neo-range-slider" type="range" id="smoothing_factor_textgenerationwebui" name="volume" min="0" max="10" step="0.01" />
1272 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="smoothing_factor_textgenerationwebui" id="smoothing_factor_counter_textgenerationwebui">1272 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="smoothing_factor_textgenerationwebui" id="smoothing_factor_counter_textgenerationwebui">
1273 </div>1273 </div>
1274 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">1274 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite" class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
1275 <small data-i18n="Smoothing Curve">Smoothing Curve</small>1275 <small data-i18n="Smoothing Curve">Smoothing Curve</small>
1276 <input class="neo-range-slider" type="range" id="smoothing_curve_textgenerationwebui" name="volume" min="1" max="10" step="0.01" />1276 <input class="neo-range-slider" type="range" id="smoothing_curve_textgenerationwebui" name="volume" min="1" max="10" step="0.01" />
1277 <input class="neo-range-input" type="number" min="1" max="10" step="0.01" data-for="smoothing_curve_textgenerationwebui" id="smoothing_curve_counter_textgenerationwebui">1277 <input class="neo-range-input" type="number" min="1" max="10" step="0.01" data-for="smoothing_curve_textgenerationwebui" id="smoothing_curve_counter_textgenerationwebui">
@@ -1279,7 +1279,7 @@
1279 </div>1279 </div>
1280 </div>1280 </div>
12811281
1282 <div data-newbie-hidden data-tg-type="koboldcpp" id="xtc_block" class="wide100p">1282 <div data-tg-type="koboldcpp" id="xtc_block" class="wide100p">
1283 <h4 class="wide100p textAlignCenter">1283 <h4 class="wide100p textAlignCenter">
1284 <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label>1284 <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label>
1285 <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank">1285 <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank">
@@ -1301,7 +1301,7 @@
1301 </div>1301 </div>
13021302
1303 <!-- Enable for llama.cpp when the PR is merged: https://github.com/ggerganov/llama.cpp/pull/6839 -->1303 <!-- Enable for llama.cpp when the PR is merged: https://github.com/ggerganov/llama.cpp/pull/6839 -->
1304 <div data-newbie-hidden data-tg-type="ooba, koboldcpp" id="dryBlock" class="wide100p">1304 <div data-tg-type="ooba, koboldcpp" id="dryBlock" class="wide100p">
1305 <h4 class="wide100p textAlignCenter" title="DRY penalizes tokens that would extend the end of the input into a sequence that has previously occurred in the input. Set multiplier to 0 to disable." data-i18n="[title]DRY_Repetition_Penalty_desc">1305 <h4 class="wide100p textAlignCenter" title="DRY penalizes tokens that would extend the end of the input into a sequence that has previously occurred in the input. Set multiplier to 0 to disable." data-i18n="[title]DRY_Repetition_Penalty_desc">
1306 <label data-i18n="DRY Repetition Penalty">DRY Repetition Penalty</label>1306 <label data-i18n="DRY Repetition Penalty">DRY Repetition Penalty</label>
1307 <a href="https://github.com/oobabooga/text-generation-webui/pull/5677" target="_blank">1307 <a href="https://github.com/oobabooga/text-generation-webui/pull/5677" target="_blank">
@@ -1339,7 +1339,7 @@
1339 </div>1339 </div>
1340 </div>1340 </div>
1341 </div>1341 </div>
1342 <div data-newbie-hidden data-tg-type="ooba, mancer, koboldcpp, tabby, llamacpp, aphrodite" id="dynatemp_block_ooba" class="wide100p">1342 <div data-tg-type="ooba, mancer, koboldcpp, tabby, llamacpp, aphrodite" id="dynatemp_block_ooba" class="wide100p">
1343 <h4 class="wide100p textAlignCenter">1343 <h4 class="wide100p textAlignCenter">
1344 <div class="flex-container alignitemscenter justifyCenter">1344 <div class="flex-container alignitemscenter justifyCenter">
1345 <div class="checkbox_label" for="dynatemp_textgenerationwebui">1345 <div class="checkbox_label" for="dynatemp_textgenerationwebui">
@@ -1367,7 +1367,7 @@
1367 </div>1367 </div>
1368 </div>1368 </div>
1369 </div>1369 </div>
1370 <div data-newbie-hidden data-tg-type="ooba,aphrodite,infermaticai,koboldcpp,llamacpp,mancer,ollama,tabby" id="mirostat_block_ooba" class="wide100p">1370 <div data-tg-type="ooba,aphrodite,infermaticai,koboldcpp,llamacpp,mancer,ollama,tabby" id="mirostat_block_ooba" class="wide100p">
1371 <h4 class="wide100p textAlignCenter">1371 <h4 class="wide100p textAlignCenter">
1372 <label data-i18n="Mirostat (mode=1 is only for llama.cpp)">Mirostat</label>1372 <label data-i18n="Mirostat (mode=1 is only for llama.cpp)">Mirostat</label>
1373 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Mirostat_desc" title="Mirostat is a thermostat for output perplexity.&#13;Mirostat matches the output perplexity to that of the input, thus avoiding the repetition trap&#13;(where, as the autoregressive inference produces text, the perplexity of the output tends toward zero)&#13;and the confusion trap (where the perplexity diverges).&#13;For details, see the paper Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity by Basu et al. (2020).&#13;Mode chooses the Mirostat version. 0=disable, 1=Mirostat 1.0 (llama.cpp only), 2=Mirostat 2.0."></div>1373 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Mirostat_desc" title="Mirostat is a thermostat for output perplexity.&#13;Mirostat matches the output perplexity to that of the input, thus avoiding the repetition trap&#13;(where, as the autoregressive inference produces text, the perplexity of the output tends toward zero)&#13;and the confusion trap (where the perplexity diverges).&#13;For details, see the paper Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity by Basu et al. (2020).&#13;Mode chooses the Mirostat version. 0=disable, 1=Mirostat 1.0 (llama.cpp only), 2=Mirostat 2.0."></div>
@@ -1396,7 +1396,7 @@
1396 </div>1396 </div>
1397 </div>1397 </div>
1398 </div>1398 </div>
1399 <div data-newbie-hidden data-tg-type="ooba, vllm" id="beamSearchBlock" name="beamSearchBlock" class="wide100p">1399 <div data-tg-type="ooba, vllm" id="beamSearchBlock" name="beamSearchBlock" class="wide100p">
1400 <h4 class="wide100p textAlignCenter">1400 <h4 class="wide100p textAlignCenter">
1401 <label>1401 <label>
1402 <span data-i18n="Beam search">Beam Search</span>1402 <span data-i18n="Beam search">Beam Search</span>
@@ -1422,7 +1422,7 @@
1422 </div>1422 </div>
1423 </div>1423 </div>
1424 </div>1424 </div>
1425 <div data-tg-type="ooba" data-newbie-hidden id="contrastiveSearchBlock" name="contrastiveSearchBlock" class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">1425 <div data-tg-type="ooba" id="contrastiveSearchBlock" name="contrastiveSearchBlock" class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
1426 <h4 class="textAlignCenter" data-i18n="Contrastive search">Contrastive Search1426 <h4 class="textAlignCenter" data-i18n="Contrastive search">Contrastive Search
1427 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="Contrastive_search_txt" title="A sampler that encourages diversity while maintaining coherence, by exploiting the isotropicity of the representation space of most LLMs. For details, see the paper A Contrastive Framework for Neural Text Generation by Su et al. (2022)."></div>1427 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="Contrastive_search_txt" title="A sampler that encourages diversity while maintaining coherence, by exploiting the isotropicity of the representation space of most LLMs. For details, see the paper A Contrastive Framework for Neural Text Generation by Su et al. (2022)."></div>
1428 </h4>1428 </h4>
@@ -1435,7 +1435,7 @@
1435 <input class="neo-range-input" type="number" min="0" max="5" step="0.05" data-for="penalty_alpha_textgenerationwebui" id="penalty_alpha_counter_textgenerationwebui">1435 <input class="neo-range-input" type="number" min="0" max="5" step="0.05" data-for="penalty_alpha_textgenerationwebui" id="penalty_alpha_counter_textgenerationwebui">
1436 </div>1436 </div>
1437 </div>1437 </div>
1438 <div data-newbie-hidden name="checkboxes" class="flex-container flexBasis48p justifyCenter flexGrow flexShrink ">1438 <div name="checkboxes" class="flex-container flexBasis48p justifyCenter flexGrow flexShrink ">
1439 <div class="flex-container flexFlowColumn marginTop5">1439 <div class="flex-container flexFlowColumn marginTop5">
1440 <label data-tg-type="ooba" class="checkbox_label flexGrow flexShrink" for="do_sample_textgenerationwebui">1440 <label data-tg-type="ooba" class="checkbox_label flexGrow flexShrink" for="do_sample_textgenerationwebui">
1441 <input type="checkbox" id="do_sample_textgenerationwebui" />1441 <input type="checkbox" id="do_sample_textgenerationwebui" />
@@ -1486,12 +1486,12 @@
1486 </label>1486 </label>
1487 </div>1487 </div>
1488 </div>1488 </div>
1489 <div data-tg-type="mancer, ooba, koboldcpp, vllm, aphrodite, llamacpp, ollama, infermaticai, huggingface" data-newbie-hidden class="flex-container flexFlowColumn alignitemscenter flexBasis48p flexGrow flexShrink gap0">1489 <div data-tg-type="mancer, ooba, koboldcpp, vllm, aphrodite, llamacpp, ollama, infermaticai, huggingface" class="flex-container flexFlowColumn alignitemscenter flexBasis48p flexGrow flexShrink gap0">
1490 <small data-i18n="Seed" class="textAlignCenter">Seed</small>1490 <small data-i18n="Seed" class="textAlignCenter">Seed</small>
1491 <input type="number" id="seed_textgenerationwebui" class="text_pole textAlignCenter" min="-1" value="-1" />1491 <input type="number" id="seed_textgenerationwebui" class="text_pole textAlignCenter" min="-1" value="-1" />
1492 </div>1492 </div>
1493 <div id="banned_tokens_block_ooba" data-newbie-hidden class="wide100p">1493 <div id="banned_tokens_block_ooba" class="wide100p">
1494 <hr data-newbie-hidden class="width100p">1494 <hr class="width100p">
1495 <h4 class="range-block-title justifyCenter">1495 <h4 class="range-block-title justifyCenter">
1496 <span data-i18n="Banned Tokens">Banned Tokens/Strings</span>1496 <span data-i18n="Banned Tokens">Banned Tokens/Strings</span>
1497 <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]LLaMA / Mistral / Yi models only" title="Enter sequences you don't want to appear in the output.&#13;Unquoted text will be tokenized in the back end and banned as tokens.&#13;[token ids] will be banned as-is.&#13;Most tokens have a leading space. Use token counter (with the correct tokenizer selected first!) if you are unsure.&#13;Enclose text in double quotes to ban the entire string as a set.&#13;Quoted Strings and [Token ids] must be on their own line."></div>1497 <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]LLaMA / Mistral / Yi models only" title="Enter sequences you don't want to appear in the output.&#13;Unquoted text will be tokenized in the back end and banned as tokens.&#13;[token ids] will be banned as-is.&#13;Most tokens have a leading space. Use token counter (with the correct tokenizer selected first!) if you are unsure.&#13;Enclose text in double quotes to ban the entire string as a set.&#13;Quoted Strings and [Token ids] must be on their own line."></div>
@@ -1515,7 +1515,7 @@
1515 <div class="logit_bias_list"></div>1515 <div class="logit_bias_list"></div>
1516 </div>1516 </div>
1517 </div>1517 </div>
1518 <div id="cfg_block_ooba" data-newbie-hidden data-tg-type="ooba, tabby" class="wide100p">1518 <div id="cfg_block_ooba" data-tg-type="ooba, tabby" class="wide100p">
1519 <hr class="width100p">1519 <hr class="width100p">
1520 <h4 data-i18n="CFG" class="textAlignCenter">CFG1520 <h4 data-i18n="CFG" class="textAlignCenter">CFG
1521 <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]Classifier Free Guidance. More helpful tip coming soon" title="Classifier Free Guidance. More helpful tip coming soon."></div>1521 <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]Classifier Free Guidance. More helpful tip coming soon" title="Classifier Free Guidance. More helpful tip coming soon."></div>
@@ -1537,7 +1537,7 @@
1537 </div>1537 </div>
1538 </div>1538 </div>
1539 </div>1539 </div>
1540 <div data-newbie-hidden id="json_schema_block" data-tg-type="tabby, llamacpp" class="wide100p">1540 <div id="json_schema_block" data-tg-type="tabby, llamacpp" class="wide100p">
1541 <hr class="wide100p">1541 <hr class="wide100p">
1542 <h4 class="wide100p textAlignCenter"><span data-i18n="JSON Schema">JSON Schema</span>1542 <h4 class="wide100p textAlignCenter"><span data-i18n="JSON Schema">JSON Schema</span>
1543 <a href="https://json-schema.org/learn/getting-started-step-by-step" target="_blank">1543 <a href="https://json-schema.org/learn/getting-started-step-by-step" target="_blank">
@@ -1548,7 +1548,7 @@
1548 </h4>1548 </h4>
1549 <textarea id="tabby_json_schema" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired JSON schema" placeholder="Type in the desired JSON schema"></textarea>1549 <textarea id="tabby_json_schema" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired JSON schema" placeholder="Type in the desired JSON schema"></textarea>
1550 </div>1550 </div>
1551 <div data-newbie-hidden id="grammar_block_ooba" class="wide100p">1551 <div id="grammar_block_ooba" class="wide100p">
1552 <hr class="wide100p">1552 <hr class="wide100p">
1553 <h4 class="wide100p textAlignCenter">1553 <h4 class="wide100p textAlignCenter">
1554 <label>1554 <label>
@@ -1563,7 +1563,7 @@
1563 </h4>1563 </h4>
1564 <textarea id="grammar_string_textgenerationwebui" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired custom grammar" placeholder="Type in the desired custom grammar"></textarea>1564 <textarea id="grammar_string_textgenerationwebui" rows="4" class="text_pole textarea_compact monospace" data-i18n="[placeholder]Type in the desired custom grammar" placeholder="Type in the desired custom grammar"></textarea>
1565 </div>1565 </div>
1566 <div id="sampler_order_block_kcpp" data-newbie-hidden data-tg-type="koboldcpp" class="range-block flexFlowColumn wide100p">1566 <div id="sampler_order_block_kcpp" data-tg-type="koboldcpp" class="range-block flexFlowColumn wide100p">
1567 <hr class="wide100p">1567 <hr class="wide100p">
1568 <div class="range-block-title">1568 <div class="range-block-title">
1569 <span data-i18n="Samplers Order">Samplers Order</span>1569 <span data-i18n="Samplers Order">Samplers Order</span>
@@ -1606,7 +1606,7 @@
1606 <span data-i18n="Load default order">Load default order</span>1606 <span data-i18n="Load default order">Load default order</span>
1607 </div>1607 </div>
1608 </div>1608 </div>
1609 <div id="sampler_order_block_lcpp" data-newbie-hidden data-tg-type="llamacpp" class="range-block flexFlowColumn wide100p">1609 <div id="sampler_order_block_lcpp" data-tg-type="llamacpp" class="range-block flexFlowColumn wide100p">
1610 <hr class="wide100p">1610 <hr class="wide100p">
1611 <h4 class="range-block-title justifyCenter">1611 <h4 class="range-block-title justifyCenter">
1612 <span data-i18n="Sampler Order">Sampler Order</span>1612 <span data-i18n="Sampler Order">Sampler Order</span>
@@ -1627,7 +1627,7 @@
1627 <span data-i18n="Load default order">Load default order</span>1627 <span data-i18n="Load default order">Load default order</span>
1628 </div>1628 </div>
1629 </div>1629 </div>
1630 <div id="sampler_priority_block_ooba" data-newbie-hidden data-tg-type="ooba" class="range-block flexFlowColumn wide100p">1630 <div id="sampler_priority_block_ooba" data-tg-type="ooba" class="range-block flexFlowColumn wide100p">
1631 <hr class="wide100p">1631 <hr class="wide100p">
1632 <h4 class="range-block-title justifyCenter">1632 <h4 class="range-block-title justifyCenter">
1633 <span data-i18n="Sampler Priority">Sampler Priority</span>1633 <span data-i18n="Sampler Priority">Sampler Priority</span>
@@ -1814,7 +1814,7 @@
1814 </span>1814 </span>
1815 </div>1815 </div>
1816 </div>1816 </div>
1817 <div data-newbie-hidden class="range-block" data-source="claude">1817 <div class="range-block" data-source="claude">
1818 <div class="wide100p">1818 <div class="wide100p">
1819 <div class="flex-container alignItemsCenter">1819 <div class="flex-container alignItemsCenter">
1820 <span id="claude_assistant_prefill_text" data-i18n="Assistant Prefill">Assistant Prefill</span>1820 <span id="claude_assistant_prefill_text" data-i18n="Assistant Prefill">Assistant Prefill</span>
@@ -1849,7 +1849,7 @@
1849 </div>1849 </div>
1850 </div>1850 </div>
1851 </div>1851 </div>
1852 <div data-newbie-hidden class="range-block m-t-1" data-source="openai,openrouter,scale">1852 <div class="range-block m-t-1" data-source="openai,openrouter,scale">
1853 <div id="logit_bias_openai" class="range-block-title openai_restorable" data-i18n="Logit Bias">1853 <div id="logit_bias_openai" class="range-block-title openai_restorable" data-i18n="Logit Bias">
1854 Logit Bias1854 Logit Bias
1855 </div>1855 </div>
@@ -1887,7 +1887,7 @@
1887 </div>1887 </div>
1888 </div>1888 </div>
1889 </div>1889 </div>
1890 <div data-newbie-hidden class="range-block m-b-1">1890 <div class="range-block m-b-1">
1891 <div id="completion_prompt_manager"></div>1891 <div id="completion_prompt_manager"></div>
1892 </div>1892 </div>
1893 </div><!-- end of OpenAI settings-->1893 </div><!-- end of OpenAI settings-->
@@ -2438,7 +2438,7 @@
2438 <option value="windowai">Window AI</option>2438 <option value="windowai">Window AI</option>
2439 </optgroup>2439 </optgroup>
2440 </select>2440 </select>
2441 <div data-newbie-hidden class="inline-drawer wide100p" data-source="openai,claude,mistralai,makersuite">2441 <div class="inline-drawer wide100p" data-source="openai,claude,mistralai,makersuite">
2442 <div class="inline-drawer-toggle inline-drawer-header">2442 <div class="inline-drawer-toggle inline-drawer-header">
2443 <b data-i18n="Reverse Proxy">Reverse Proxy</b>2443 <b data-i18n="Reverse Proxy">Reverse Proxy</b>
2444 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>2444 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -3073,17 +3073,17 @@
3073 <div class="flex-container justifyCenter">3073 <div class="flex-container justifyCenter">
3074 <input type="file" hidden data-preset-manager-file="context" accept=".json, .settings">3074 <input type="file" hidden data-preset-manager-file="context" accept=".json, .settings">
3075 <i id="context_set_default" class="menu_button fa-solid fa-heart" title="Auto-select this preset for Instruct Mode." data-i18n="[title]Auto-select this preset for Instruct Mode"></i>3075 <i id="context_set_default" class="menu_button fa-solid fa-heart" title="Auto-select this preset for Instruct Mode." data-i18n="[title]Auto-select this preset for Instruct Mode"></i>
3076 <i data-newbie-hidden data-preset-manager-update="context" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>3076 <i data-preset-manager-update="context" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
3077 <i data-newbie-hidden data-preset-manager-new="context" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>3077 <i data-preset-manager-new="context" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
3078 <i data-preset-manager-import="context" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>3078 <i data-preset-manager-import="context" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
3079 <i data-preset-manager-export="context" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>3079 <i data-preset-manager-export="context" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
3080 <i data-newbie-hidden data-preset-manager-restore="context" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>3080 <i data-preset-manager-restore="context" class="menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
3081 <i id="context_delete_preset" data-preset-manager-delete="context" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>3081 <i id="context_delete_preset" data-preset-manager-delete="context" class="menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
3082 </div>3082 </div>
3083 <div class="flex-container">3083 <div class="flex-container">
3084 <select id="context_presets" data-preset-manager-for="context" class="flex1 text_pole"></select>3084 <select id="context_presets" data-preset-manager-for="context" class="flex1 text_pole"></select>
3085 </div>3085 </div>
3086 <div data-newbie-hidden>3086 <div>
3087 <label for="context_story_string">3087 <label for="context_story_string">
3088 <small data-i18n="Story String">Story String</small>3088 <small data-i18n="Story String">Story String</small>
3089 </label>3089 </label>
@@ -3134,7 +3134,7 @@
3134 Collapse Consecutive Newlines3134 Collapse Consecutive Newlines
3135 </small>3135 </small>
3136 </label>3136 </label>
3137 <label data-newbie-hidden class="checkbox_label" for="trim_spaces">3137 <label class="checkbox_label" for="trim_spaces">
3138 <input id="trim_spaces" type="checkbox" />3138 <input id="trim_spaces" type="checkbox" />
3139 <small data-i18n="Trim spaces">Trim spaces</small>3139 <small data-i18n="Trim spaces">Trim spaces</small>
3140 </label>3140 </label>
@@ -3145,7 +3145,7 @@
3145 </small>3145 </small>
3146 </label>3146 </label>
3147 <!-- Add margin since this is a child of above -->3147 <!-- Add margin since this is a child of above -->
3148 <label data-newbie-hidden class="checkbox_label indent20p" for="include_newline_checkbox">3148 <label class="checkbox_label indent20p" for="include_newline_checkbox">
3149 <input id="include_newline_checkbox" type="checkbox" />3149 <input id="include_newline_checkbox" type="checkbox" />
3150 <small data-i18n="Include Newline">Include Newline</small>3150 <small data-i18n="Include Newline">Include Newline</small>
3151 </label>3151 </label>
@@ -3214,33 +3214,33 @@
3214 <div class="flex-container margin0 justifyCenter">3214 <div class="flex-container margin0 justifyCenter">
3215 <input type="file" hidden data-preset-manager-file="instruct" accept=".json, .settings">3215 <input type="file" hidden data-preset-manager-file="instruct" accept=".json, .settings">
3216 <i id="instruct_set_default" class="menu_button fa-solid fa-heart" title="Auto-select this preset on API connection." data-i18n="[title]Auto-select this preset on API connection"></i>3216 <i id="instruct_set_default" class="menu_button fa-solid fa-heart" title="Auto-select this preset on API connection." data-i18n="[title]Auto-select this preset on API connection"></i>
3217 <i data-newbie-hidden data-preset-manager-update="instruct" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>3217 <i data-preset-manager-update="instruct" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
3218 <i data-newbie-hidden data-preset-manager-new="instruct" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>3218 <i data-preset-manager-new="instruct" class="menu_button fa-solid fa-file-circle-plus" title="Save preset as" data-i18n="[title]Save preset as"></i>
3219 <i data-preset-manager-import="instruct" class=" menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>3219 <i data-preset-manager-import="instruct" class=" menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
3220 <i data-preset-manager-export="instruct" class=" menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>3220 <i data-preset-manager-export="instruct" class=" menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
3221 <i data-newbie-hidden data-preset-manager-restore="instruct" class=" menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>3221 <i data-preset-manager-restore="instruct" class=" menu_button fa-solid fa-recycle" title="Restore current preset" data-i18n="[title]Restore current preset"></i>
3222 <i data-preset-manager-delete="instruct" class=" menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>3222 <i data-preset-manager-delete="instruct" class=" menu_button fa-solid fa-trash-can" title="Delete the preset" data-i18n="[title]Delete the preset"></i>
3223 </div>3223 </div>
32243224
3225 <div class="flex-container">3225 <div class="flex-container">
3226 <select id="instruct_presets" data-preset-manager-for="instruct" class="flex1 text_pole"></select>3226 <select id="instruct_presets" data-preset-manager-for="instruct" class="flex1 text_pole"></select>
3227 </div>3227 </div>
3228 <label data-newbie-hidden>3228 <label>
3229 <small data-i18n="Activation Regex">3229 <small data-i18n="Activation Regex">
3230 Activation Regex <span class="fa-solid fa-circle-question" title="When connecting to an API or choosing a model, automatically activate this Instruct Mode template if the model name matches the provided regular expression."></span>3230 Activation Regex <span class="fa-solid fa-circle-question" title="When connecting to an API or choosing a model, automatically activate this Instruct Mode template if the model name matches the provided regular expression."></span>
3231 </small>3231 </small>
3232 </label>3232 </label>
3233 <div data-newbie-hidden>3233 <div>
3234 <input type="text" id="instruct_activation_regex" class="text_pole textarea_compact" placeholder="e.g. /llama(-)?[3|3.1]/i"></input>3234 <input type="text" id="instruct_activation_regex" class="text_pole textarea_compact" placeholder="e.g. /llama(-)?[3|3.1]/i"></input>
3235 </div>3235 </div>
3236 <div data-newbie-hidden>3236 <div>
3237 <label>3237 <label>
3238 <small data-i18n="System Prompt">System Prompt</small>3238 <small data-i18n="System Prompt">System Prompt</small>
3239 </label>3239 </label>
3240 <div contenteditable="true" id="instruct_system_prompt" class="text_pole textarea_compact"></div>3240 <div contenteditable="true" id="instruct_system_prompt" class="text_pole textarea_compact"></div>
3241 </div>3241 </div>
32423242
3243 <div data-newbie-hidden>3243 <div>
3244 <label for="instruct_wrap" class="checkbox_label">3244 <label for="instruct_wrap" class="checkbox_label">
3245 <input id="instruct_wrap" type="checkbox" />3245 <input id="instruct_wrap" type="checkbox" />
3246 <small data-i18n="Wrap Sequences with Newline">Wrap Sequences with Newline</small>3246 <small data-i18n="Wrap Sequences with Newline">Wrap Sequences with Newline</small>
@@ -3264,7 +3264,7 @@
3264 </div>3264 </div>
3265 </div>3265 </div>
3266 <div name="tokenizerSettingsBlock">3266 <div name="tokenizerSettingsBlock">
3267 <div data-newbie-hidden name="tokenizerSelectorBlock">3267 <div name="tokenizerSelectorBlock">
3268 <h4 class="standoutHeader"><span data-i18n="Tokenizer">Tokenizer</span>3268 <h4 class="standoutHeader"><span data-i18n="Tokenizer">Tokenizer</span>
3269 <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#tokenizer" class="notes-link" target="_blank">3269 <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#tokenizer" class="notes-link" target="_blank">
3270 <span class="fa-solid fa-circle-question note-link-span"></span>3270 <span class="fa-solid fa-circle-question note-link-span"></span>
@@ -3287,7 +3287,7 @@
3287 <option value="6">API (WebUI / koboldcpp)</option>3287 <option value="6">API (WebUI / koboldcpp)</option>
3288 </select>3288 </select>
3289 </div>3289 </div>
3290 <div class="range-block flex-container flexnowrap" data-newbie-hidden name="tokenPaddingBlock">3290 <div class="range-block flex-container flexnowrap" name="tokenPaddingBlock">
3291 <div class="range-block-title justifyLeft">3291 <div class="range-block-title justifyLeft">
3292 <small data-i18n="Token Padding" class="flex-container">Token Padding3292 <small data-i18n="Token Padding" class="flex-container">Token Padding
3293 <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#token-padding" class="notes-link" target="_blank">3293 <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#token-padding" class="notes-link" target="_blank">
@@ -3311,7 +3311,7 @@
3311 </div>3311 </div>
3312 </div>3312 </div>
33133313
3314 <div data-newbie-hidden name="startReplyWithBlock">3314 <div name="startReplyWithBlock">
3315 <div>3315 <div>
3316 <small>3316 <small>
3317 <span data-i18n="Start Reply With">3317 <span data-i18n="Start Reply With">
@@ -3332,7 +3332,7 @@
3332 </div>3332 </div>
3333 </div>3333 </div>
3334 <div id="InstructSequencesColumn" class="flex-container flexNoGap flexFlowColumn flex1">3334 <div id="InstructSequencesColumn" class="flex-container flexNoGap flexFlowColumn flex1">
3335 <div data-newbie-hidden class="wide100p flexFlowColumn">3335 <div class="wide100p flexFlowColumn">
3336 <h4 class="standoutHeader title_restorable">3336 <h4 class="standoutHeader title_restorable">
3337 <b>3337 <b>
3338 <span data-i18n="Instruct Sequences">3338 <span data-i18n="Instruct Sequences">
@@ -3653,10 +3653,6 @@
3653 <div class="flex-container">3653 <div class="flex-container">
3654 <div class="flex-container flexnowrap alignItemsBaseline">3654 <div class="flex-container flexnowrap alignItemsBaseline">
3655 <h3 class="margin0"><span data-i18n="User Settings">User Settings</span></h3>3655 <h3 class="margin0"><span data-i18n="User Settings">User Settings</span></h3>
3656 <select id="ui_mode_select" class="margin0 widthNatural">
3657 <option value="0" data-i18n="Simple">Simple</option>
3658 <option value="1" data-i18n="Advanced">Advanced</option>
3659 </select>
3660 </div>3656 </div>
3661 </div>3657 </div>
3662 <div id="UI-language-block" class="flex-container alignItemsBaseline">3658 <div id="UI-language-block" class="flex-container alignItemsBaseline">
@@ -3715,7 +3711,7 @@
3715 </div>3711 </div>
3716 </div>3712 </div>
3717 </div>3713 </div>
3718 <div name="themeElements" data-newbie-hidden class="flex-container flexFlowColumn flexNoGap">3714 <div name="themeElements" class="flex-container flexFlowColumn flexNoGap">
3719 <!-- <h4><span data-i18n="UI Colors">Theme Settings</span></h4> -->3715 <!-- <h4><span data-i18n="UI Colors">Theme Settings</span></h4> -->
3720 <div name="AvatarAndChatDisplay" class="flex-container flexFlowColumn">3716 <div name="AvatarAndChatDisplay" class="flex-container flexFlowColumn">
3721 <div class="flex-container">3717 <div class="flex-container">
@@ -3735,7 +3731,7 @@
3735 </select>3731 </select>
3736 </div>3732 </div>
3737 </div>3733 </div>
3738 <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn">3734 <div class="inline-drawer wide100p flexFlowColumn">
3739 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Specify colors for your theme." data-i18n="[title]Specify colors for your theme.">3735 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Specify colors for your theme." data-i18n="[title]Specify colors for your theme.">
3740 <b><span data-i18n="Theme Colors">Theme Colors</span></b>3736 <b><span data-i18n="Theme Colors">Theme Colors</span></b>
3741 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>3737 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -3786,7 +3782,7 @@
3786 </div>3782 </div>
3787 </div>3783 </div>
3788 <hr>3784 <hr>
3789 <div data-newbie-hidden name="FontBlurChatWidthBlock" class="flex-container">3785 <div name="FontBlurChatWidthBlock" class="flex-container">
37903786
3791 <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">3787 <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
3792 <small>3788 <small>
@@ -3832,11 +3828,11 @@
3832 <input id="reduced_motion" type="checkbox" />3828 <input id="reduced_motion" type="checkbox" />
3833 <small data-i18n="Reduced Motion">Reduced Motion</small>3829 <small data-i18n="Reduced Motion">Reduced Motion</small>
3834 </label>3830 </label>
3835 <label data-newbie-hidden for="fast_ui_mode" class="checkbox_label" title="Remove blur from window backgrounds, for faster rendering." data-i18n="[title]removes blur from window backgrounds">3831 <label for="fast_ui_mode" class="checkbox_label" title="Remove blur from window backgrounds, for faster rendering." data-i18n="[title]removes blur from window backgrounds">
3836 <input id="fast_ui_mode" type="checkbox" />3832 <input id="fast_ui_mode" type="checkbox" />
3837 <small data-i18n="No Blur Effect">No Blur Effect</small>3833 <small data-i18n="No Blur Effect">No Blur Effect</small>
3838 </label>3834 </label>
3839 <label data-newbie-hidden for="noShadowsmode" class="checkbox_label" title="Remove text shadow effect." data-i18n="[title]Remove text shadow effect">3835 <label for="noShadowsmode" class="checkbox_label" title="Remove text shadow effect." data-i18n="[title]Remove text shadow effect">
3840 <input id="noShadowsmode" type="checkbox" />3836 <input id="noShadowsmode" type="checkbox" />
3841 <small data-i18n="No Text Shadows">No Text Shadows</small>3837 <small data-i18n="No Text Shadows">No Text Shadows</small>
3842 </label>3838 </label>
@@ -3844,39 +3840,39 @@
3844 <input id="waifuMode" type="checkbox" />3840 <input id="waifuMode" type="checkbox" />
3845 <small data-i18n="Waifu Mode">Visual Novel Mode</small>3841 <small data-i18n="Waifu Mode">Visual Novel Mode</small>
3846 </label>3842 </label>
3847 <label data-newbie-hidden for="expandMessageActions" class="checkbox_label" title="Always show the full list of the Message Actions context items for chat messages, instead of hiding them behind '...'." data-i18n="[title]Always show the full list of the Message Actions context items for chat messages, instead of hiding them behind '...'">3843 <label for="expandMessageActions" class="checkbox_label" title="Always show the full list of the Message Actions context items for chat messages, instead of hiding them behind '...'." data-i18n="[title]Always show the full list of the Message Actions context items for chat messages, instead of hiding them behind '...'">
3848 <input id="expandMessageActions" type="checkbox" />3844 <input id="expandMessageActions" type="checkbox" />
3849 <small data-i18n="Auto-Expand Message Actions">Expand Message Actions</small>3845 <small data-i18n="Auto-Expand Message Actions">Expand Message Actions</small>
3850 </label>3846 </label>
3851 <label data-newbie-hidden for="enableZenSliders" class="checkbox_label" title="Alternative UI for numeric sampling parameters with fewer steps." data-i18n="[title]Alternative UI for numeric sampling parameters with fewer steps">3847 <label for="enableZenSliders" class="checkbox_label" title="Alternative UI for numeric sampling parameters with fewer steps." data-i18n="[title]Alternative UI for numeric sampling parameters with fewer steps">
3852 <input id="enableZenSliders" type="checkbox" />3848 <input id="enableZenSliders" type="checkbox" />
3853 <small data-i18n="Zen Sliders">Zen Sliders</small>3849 <small data-i18n="Zen Sliders">Zen Sliders</small>
3854 </label>3850 </label>
3855 <label data-newbie-hidden for="enableLabMode" class="checkbox_label" title="Entirely unrestrict all numeric sampling parameters." data-i18n="[title]Entirely unrestrict all numeric sampling parameters">3851 <label for="enableLabMode" class="checkbox_label" title="Entirely unrestrict all numeric sampling parameters." data-i18n="[title]Entirely unrestrict all numeric sampling parameters">
3856 <input id="enableLabMode" type="checkbox" />3852 <input id="enableLabMode" type="checkbox" />
3857 <small data-i18n="Mad Lab Mode">Mad Lab Mode</small>3853 <small data-i18n="Mad Lab Mode">Mad Lab Mode</small>
3858 </label>3854 </label>
3859 <label data-newbie-hidden for="messageTimerEnabled" class="checkbox_label" title="Time the AI's message generation, and show the duration in the chat log." data-i18n="[title]Time the AI's message generation, and show the duration in the chat log">3855 <label for="messageTimerEnabled" class="checkbox_label" title="Time the AI's message generation, and show the duration in the chat log." data-i18n="[title]Time the AI's message generation, and show the duration in the chat log">
3860 <input id="messageTimerEnabled" type="checkbox" />3856 <input id="messageTimerEnabled" type="checkbox" />
3861 <small data-i18n="Message Timer">Message Timer</small>3857 <small data-i18n="Message Timer">Message Timer</small>
3862 </label>3858 </label>
3863 <label data-newbie-hidden for="messageTimestampsEnabled" class="checkbox_label" title="Show a timestamp for each message in the chat log." data-i18n="[title]Show a timestamp for each message in the chat log">3859 <label for="messageTimestampsEnabled" class="checkbox_label" title="Show a timestamp for each message in the chat log." data-i18n="[title]Show a timestamp for each message in the chat log">
3864 <input id="messageTimestampsEnabled" type="checkbox" />3860 <input id="messageTimestampsEnabled" type="checkbox" />
3865 <small data-i18n="Chat Timestamps">Chat Timestamps</small>3861 <small data-i18n="Chat Timestamps">Chat Timestamps</small>
3866 </label>3862 </label>
3867 <label data-newbie-hidden for="messageModelIconEnabled" class="checkbox_label" title="Show an icon for the API that generated the message." data-i18n="[title]Show an icon for the API that generated the message">3863 <label for="messageModelIconEnabled" class="checkbox_label" title="Show an icon for the API that generated the message." data-i18n="[title]Show an icon for the API that generated the message">
3868 <input id="messageModelIconEnabled" type="checkbox" />3864 <input id="messageModelIconEnabled" type="checkbox" />
3869 <small data-i18n="Model Icon">Model Icons</small>3865 <small data-i18n="Model Icon">Model Icons</small>
3870 </label>3866 </label>
3871 <label data-newbie-hidden for="mesIDDisplayEnabled" class="checkbox_label" title="Show sequential message numbers in the chat log." data-i18n="[title]Show sequential message numbers in the chat log">3867 <label for="mesIDDisplayEnabled" class="checkbox_label" title="Show sequential message numbers in the chat log." data-i18n="[title]Show sequential message numbers in the chat log">
3872 <input id="mesIDDisplayEnabled" type="checkbox" />3868 <input id="mesIDDisplayEnabled" type="checkbox" />
3873 <small data-i18n="Message IDs">Message IDs</small>3869 <small data-i18n="Message IDs">Message IDs</small>
3874 </label>3870 </label>
3875 <label data-newbie-hidden for="hideChatAvatarsEnabled" class="checkbox_label" title="Hide avatars in chat messages." data-i18n="[title]Hide avatars in chat messages.">3871 <label for="hideChatAvatarsEnabled" class="checkbox_label" title="Hide avatars in chat messages." data-i18n="[title]Hide avatars in chat messages.">
3876 <input id="hideChatAvatarsEnabled" type="checkbox" />3872 <input id="hideChatAvatarsEnabled" type="checkbox" />
3877 <small data-i18n="Hide Chat Avatars">Hide Chat Avatars</small>3873 <small data-i18n="Hide Chat Avatars">Hide Chat Avatars</small>
3878 </label>3874 </label>
3879 <label data-newbie-hidden for="messageTokensEnabled" class="checkbox_label" title="Show the number of tokens for each message in the chat log." data-i18n="[title]Show the number of tokens in each message in the chat log">3875 <label for="messageTokensEnabled" class="checkbox_label" title="Show the number of tokens for each message in the chat log." data-i18n="[title]Show the number of tokens in each message in the chat log">
3880 <input id="messageTokensEnabled" type="checkbox" />3876 <input id="messageTokensEnabled" type="checkbox" />
3881 <small data-i18n="Show Message Token Count">Message Token Count</small>3877 <small data-i18n="Show Message Token Count">Message Token Count</small>
3882 </label>3878 </label>
@@ -3884,7 +3880,7 @@
3884 <input id="compact_input_area" type="checkbox" />3880 <input id="compact_input_area" type="checkbox" />
3885 <small data-i18n="Compact Input Area (Mobile)">Compact Input Area</small><i class="fa-solid fa-mobile-screen-button"></i>3881 <small data-i18n="Compact Input Area (Mobile)">Compact Input Area</small><i class="fa-solid fa-mobile-screen-button"></i>
3886 </label>3882 </label>
3887 <label data-newbie-hidden for="hotswapEnabled" class="checkbox_label" title="In the Character Management panel, show quick selection buttons for favorited characters." data-i18n="[title]In the Character Management panel, show quick selection buttons for favorited characters">3883 <label for="hotswapEnabled" class="checkbox_label" title="In the Character Management panel, show quick selection buttons for favorited characters." data-i18n="[title]In the Character Management panel, show quick selection buttons for favorited characters">
3888 <input id="hotswapEnabled" type="checkbox" />3884 <input id="hotswapEnabled" type="checkbox" />
3889 <small data-i18n="Characters Hotswap">Characters Hotswap</small>3885 <small data-i18n="Characters Hotswap">Characters Hotswap</small>
3890 </label>3886 </label>
@@ -3905,7 +3901,7 @@
3905 </div>3901 </div>
3906 </div>3902 </div>
3907 <div name="UserSettingsSecondColumn" id="UI-Customization" class="flex-container flexFlowColumn wide100p flexNoGap">3903 <div name="UserSettingsSecondColumn" id="UI-Customization" class="flex-container flexFlowColumn wide100p flexNoGap">
3908 <div data-newbie-hidden name="CharacterHandlingToggles">3904 <div name="CharacterHandlingToggles">
3909 <h4 data-i18n="Character Handling">3905 <h4 data-i18n="Character Handling">
3910 Character Handling3906 Character Handling
3911 </h4>3907 </h4>
@@ -3916,7 +3912,7 @@
3916 <option data-i18n="Created by" value="creator">Created by</option>3912 <option data-i18n="Created by" value="creator">Created by</option>
3917 </select>3913 </select>
3918 </div>3914 </div>
3919 <div data-newbie-hidden class="flex-container alignitemscenter" title="Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog." data-i18n="[title]Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog.">3915 <div class="flex-container alignitemscenter" title="Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog." data-i18n="[title]Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog.">
3920 <label for="tag_import_setting"><small data-i18n="Import Card Tags">Import Card Tags</small></label>3916 <label for="tag_import_setting"><small data-i18n="Import Card Tags">Import Card Tags</small></label>
3921 <select id="tag_import_setting" class="widthNatural flex1 margin0">3917 <select id="tag_import_setting" class="widthNatural flex1 margin0">
3922 <option data-i18n="Ask" value="1">Ask</option>3918 <option data-i18n="Ask" value="1">Ask</option>
@@ -3925,27 +3921,27 @@
3925 <option data-i18n="Existing" value="4">Existing</option>3921 <option data-i18n="Existing" value="4">Existing</option>
3926 </select>3922 </select>
3927 </div>3923 </div>
3928 <label data-newbie-hidden class="checkbox_label" for="fuzzy_search_checkbox" title="Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring." data-i18n="[title]Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring">3924 <label class="checkbox_label" for="fuzzy_search_checkbox" title="Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring." data-i18n="[title]Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring">
3929 <input id="fuzzy_search_checkbox" type="checkbox" />3925 <input id="fuzzy_search_checkbox" type="checkbox" />
3930 <small data-i18n="Advanced Character Search">Advanced Character Search</small>3926 <small data-i18n="Advanced Character Search">Advanced Character Search</small>
3931 </label>3927 </label>
3932 <label data-newbie-hidden for="prefer_character_prompt" title="If checked and the character card contains a prompt override (System Prompt), use that instead." data-i18n="[title]If checked and the character card contains a prompt override (System Prompt), use that instead" class="checkbox_label">3928 <label for="prefer_character_prompt" title="If checked and the character card contains a prompt override (System Prompt), use that instead." data-i18n="[title]If checked and the character card contains a prompt override (System Prompt), use that instead" class="checkbox_label">
3933 <input id="prefer_character_prompt" type="checkbox" />3929 <input id="prefer_character_prompt" type="checkbox" />
3934 <small data-i18n="Prefer Character Card Prompt">Prefer Char. Prompt</small>3930 <small data-i18n="Prefer Character Card Prompt">Prefer Char. Prompt</small>
3935 </label>3931 </label>
3936 <label data-newbie-hidden for="prefer_character_jailbreak" title="If checked and the character card contains a Post-History Instructions override, use that instead." data-i18n="[title]If checked and the character card contains a Post-History Instructions override, use that instead" class="checkbox_label">3932 <label for="prefer_character_jailbreak" title="If checked and the character card contains a Post-History Instructions override, use that instead." data-i18n="[title]If checked and the character card contains a Post-History Instructions override, use that instead" class="checkbox_label">
3937 <input id="prefer_character_jailbreak" type="checkbox" />3933 <input id="prefer_character_jailbreak" type="checkbox" />
3938 <small data-i18n="Prefer Character Card Instructions">Prefer Char. Instructions</small>3934 <small data-i18n="Prefer Character Card Instructions">Prefer Char. Instructions</small>
3939 </label>3935 </label>
3940 <label data-newbie-hidden class="checkbox_label" for="never_resize_avatars" title="Avoid cropping and resizing imported character images. When off, crop/resize to 512x768." data-i18n="[title]Avoid cropping and resizing imported character images. When off, crop/resize to 512x768">3936 <label class="checkbox_label" for="never_resize_avatars" title="Avoid cropping and resizing imported character images. When off, crop/resize to 512x768." data-i18n="[title]Avoid cropping and resizing imported character images. When off, crop/resize to 512x768">
3941 <input id="never_resize_avatars" type="checkbox" />3937 <input id="never_resize_avatars" type="checkbox" />
3942 <small data-i18n="Never resize avatars">Never resize avatars</small>3938 <small data-i18n="Never resize avatars">Never resize avatars</small>
3943 </label>3939 </label>
3944 <label data-newbie-hidden class="checkbox_label" for="show_card_avatar_urls" title="Show actual file names on the disk, in the characters list display only." data-i18n="[title]Show actual file names on the disk, in the characters list display only">3940 <label class="checkbox_label" for="show_card_avatar_urls" title="Show actual file names on the disk, in the characters list display only." data-i18n="[title]Show actual file names on the disk, in the characters list display only">
3945 <input id="show_card_avatar_urls" type="checkbox" />3941 <input id="show_card_avatar_urls" type="checkbox" />
3946 <small data-i18n="Show avatar filenames">Show avatar filenames</small>3942 <small data-i18n="Show avatar filenames">Show avatar filenames</small>
3947 </label>3943 </label>
3948 <label data-newbie-hidden class="checkbox_label" for="spoiler_free_mode" title="Hide character definitions from the editor panel behind a spoiler button." data-i18n="[title]Hide character definitions from the editor panel behind a spoiler button">3944 <label class="checkbox_label" for="spoiler_free_mode" title="Hide character definitions from the editor panel behind a spoiler button." data-i18n="[title]Hide character definitions from the editor panel behind a spoiler button">
3949 <input id="spoiler_free_mode" type="checkbox" />3945 <input id="spoiler_free_mode" type="checkbox" />
3950 <small data-i18n="Spoiler Free Mode">Spoiler Free Mode</small>3946 <small data-i18n="Spoiler Free Mode">Spoiler Free Mode</small>
3951 </label>3947 </label>
@@ -3954,7 +3950,7 @@
39543950
3955 <div name="MiscellaneousToggles">3951 <div name="MiscellaneousToggles">
3956 <h4><span data-i18n="Miscellaneous">Miscellaneous</span></h4>3952 <h4><span data-i18n="Miscellaneous">Miscellaneous</span></h4>
3957 <div data-newbie-hidden class="flex-container">3953 <div class="flex-container">
3958 <div id="reload_chat" class="menu_button whitespacenowrap" data-i18n="[title]Reload and redraw the currently open chat" title="Reload and redraw the currently open chat.">3954 <div id="reload_chat" class="menu_button whitespacenowrap" data-i18n="[title]Reload and redraw the currently open chat" title="Reload and redraw the currently open chat.">
3959 <small data-i18n="Reload Chat">Reload Chat</small>3955 <small data-i18n="Reload Chat">Reload Chat</small>
3960 </div>3956 </div>
@@ -3994,15 +3990,15 @@
3994 <input id="play_sound_unfocused" type="checkbox" />3990 <input id="play_sound_unfocused" type="checkbox" />
3995 <small data-i18n="Background Sound Only">Background Sound Only</small>3991 <small data-i18n="Background Sound Only">Background Sound Only</small>
3996 </label>3992 </label>
3997 <label data-newbie-hidden class="checkbox_label" for="relaxed_api_urls" title="Reduce the formatting requirements on API URLs." data-i18n="[title]Reduce the formatting requirements on API URLs">3993 <label class="checkbox_label" for="relaxed_api_urls" title="Reduce the formatting requirements on API URLs." data-i18n="[title]Reduce the formatting requirements on API URLs">
3998 <input id="relaxed_api_urls" type="checkbox" />3994 <input id="relaxed_api_urls" type="checkbox" />
3999 <small data-i18n="Relaxed API URLS">Relaxed API URLs</small>3995 <small data-i18n="Relaxed API URLS">Relaxed API URLs</small>
4000 </label>3996 </label>
4001 <label data-newbie-hidden class="checkbox_label" for="world_import_dialog" title="Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead." data-i18n="[title]Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead">3997 <label class="checkbox_label" for="world_import_dialog" title="Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead." data-i18n="[title]Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead">
4002 <input id="world_import_dialog" type="checkbox" />3998 <input id="world_import_dialog" type="checkbox" />
4003 <small data-i18n="Lorebook Import Dialog">Lorebook Import Dialog</small>3999 <small data-i18n="Lorebook Import Dialog">Lorebook Import Dialog</small>
4004 </label>4000 </label>
4005 <label data-newbie-hidden class="checkbox_label" for="enable_auto_select_input" title="Enable auto-select of input text in some text fields when clicking/selecting them. Applies to popup input textboxes, and possible other custom input fields." data-i18n="[title]Enable auto-select of input text in some text fields when clicking/selecting them. Applies to popup input textboxes, and possible other custom input fields.">4001 <label class="checkbox_label" for="enable_auto_select_input" title="Enable auto-select of input text in some text fields when clicking/selecting them. Applies to popup input textboxes, and possible other custom input fields." data-i18n="[title]Enable auto-select of input text in some text fields when clicking/selecting them. Applies to popup input textboxes, and possible other custom input fields.">
4006 <input id="enable_auto_select_input" type="checkbox" />4002 <input id="enable_auto_select_input" type="checkbox" />
4007 <small data-i18n="Auto-select Input Text">Auto-select Input Text</small>4003 <small data-i18n="Auto-select Input Text">Auto-select Input Text</small>
4008 </label>4004 </label>
@@ -4011,13 +4007,13 @@
4011 <small data-i18n="Restore User Input">Restore User Input</small>4007 <small data-i18n="Restore User Input">Restore User Input</small>
4012 </label>4008 </label>
4013 <div class="flex-container alignItemsCenter">4009 <div class="flex-container alignItemsCenter">
4014 <label data-newbie-hidden id="movingUIModeCheckBlock" for="movingUImode" class="checkbox_label" title="Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile." data-i18n="[title]Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile">4010 <label id="movingUIModeCheckBlock" for="movingUImode" class="checkbox_label" title="Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile." data-i18n="[title]Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile">
4015 <input id="movingUImode" type="checkbox" />4011 <input id="movingUImode" type="checkbox" />
4016 <small data-i18n="Movable UI Panels">MovingUI&nbsp;<i class="fa-solid fa-desktop"></i></small>4012 <small data-i18n="Movable UI Panels">MovingUI&nbsp;<i class="fa-solid fa-desktop"></i></small>
4017 </label>4013 </label>
4018 <div data-newbie-hidden id="movingUIreset" title="Reset MovingUI panel sizes/locations." class="menu_button margin0" data-i18n="[title]Reset MovingUI panel sizes/locations."><i class=" fa-solid fa-recycle margin-r5"></i> <span data-i18n="mui_reset">Reset</span></div>4014 <div id="movingUIreset" title="Reset MovingUI panel sizes/locations." class="menu_button margin0" data-i18n="[title]Reset MovingUI panel sizes/locations."><i class=" fa-solid fa-recycle margin-r5"></i> <span data-i18n="mui_reset">Reset</span></div>
4019 </div>4015 </div>
4020 <div data-newbie-hidden id="MovingUI-presets-block" class="flex-container alignitemscenter">4016 <div id="MovingUI-presets-block" class="flex-container alignitemscenter">
4021 <div class="flex-container alignItemsFlexEnd">4017 <div class="flex-container alignItemsFlexEnd">
4022 <label for="movingUIPresets" title="MovingUI preset. Predefined/saved draggable positions." data-i18n="[title]MovingUI preset. Predefined/saved draggable positions">4018 <label for="movingUIPresets" title="MovingUI preset. Predefined/saved draggable positions." data-i18n="[title]MovingUI preset. Predefined/saved draggable positions">
4023 <small data-i18n="MUI Preset">MovingUI Preset:</small>4019 <small data-i18n="MUI Preset">MovingUI Preset:</small>
@@ -4029,7 +4025,7 @@
4029 <div id="movingui-preset-save-button" title="Save changes to a new MovingUI preset file." data-i18n="[title]Save movingUI changes to a new file" class="menu_button margin0 fa-solid fa-save"></div>4025 <div id="movingui-preset-save-button" title="Save changes to a new MovingUI preset file." data-i18n="[title]Save movingUI changes to a new file" class="menu_button margin0 fa-solid fa-save"></div>
4030 </div>4026 </div>
4031 </div>4027 </div>
4032 <div data-newbie-hidden id="CustomCSS-block" class="flex-container flexFlowColumn">4028 <div id="CustomCSS-block" class="flex-container flexFlowColumn">
4033 <h4 class="title_restorable" title="Apply a custom CSS style to all of the ST GUI." data-i18n="[title]Apply a custom CSS style to all of the ST GUI">4029 <h4 class="title_restorable" title="Apply a custom CSS style to all of the ST GUI." data-i18n="[title]Apply a custom CSS style to all of the ST GUI">
4034 <span data-i18n="Custom CSS">Custom CSS</span>4030 <span data-i18n="Custom CSS">Custom CSS</span>
4035 <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="customCSS" title="Expand the editor" data-i18n="[title]Expand the editor"></i>4031 <i class="editor_maximize fa-solid fa-maximize right_menu_button" data-for="customCSS" title="Expand the editor" data-i18n="[title]Expand the editor"></i>
@@ -4066,7 +4062,7 @@
4066 <input class="neo-range-input" type="number" min="5" max="100" step="5" data-for="streaming_fps" id="streaming_fps_counter">4062 <input class="neo-range-input" type="number" min="5" max="100" step="5" data-for="streaming_fps" id="streaming_fps_counter">
4067 </div>4063 </div>
4068 </div>4064 </div>
4069 <div data-newbie-hidden id="examples-behavior-block">4065 <div id="examples-behavior-block">
4070 <label data-i18n="Example Messages Behavior">4066 <label data-i18n="Example Messages Behavior">
4071 <small>Example Messages Behavior:</small>4067 <small>Example Messages Behavior:</small>
4072 </label>4068 </label>
@@ -4076,7 +4072,7 @@
4076 <option value="strip" data-i18n="Never include examples">Never include examples</option>4072 <option value="strip" data-i18n="Never include examples">Never include examples</option>
4077 </select>4073 </select>
4078 </div>4074 </div>
4079 <div data-newbie-hidden class="flex-container alignitemscenter">4075 <div class="flex-container alignitemscenter">
4080 <small data-i18n="Send on Enter">4076 <small data-i18n="Send on Enter">
4081 Enter to Send:4077 Enter to Send:
4082 </small>4078 </small>
@@ -4086,7 +4082,7 @@
4086 <option value="1" data-i18n="Enabled">Enabled</option>4082 <option value="1" data-i18n="Enabled">Enabled</option>
4087 </select>4083 </select>
4088 </div>4084 </div>
4089 <label data-newbie-hidden class="checkbox_label" for="continue_on_send">4085 <label class="checkbox_label" for="continue_on_send">
4090 <input id="continue_on_send" type="checkbox" />4086 <input id="continue_on_send" type="checkbox" />
4091 <small data-i18n="Press Send to continue">4087 <small data-i18n="Press Send to continue">
4092 "Send" to Continue4088 "Send" to Continue
@@ -4105,11 +4101,11 @@
4105 </small>4101 </small>
4106 </label>4102 </label>
4107 <div class="checkbox-container flex-container">4103 <div class="checkbox-container flex-container">
4108 <label data-newbie-hidden class="checkbox_label" for="swipes-checkbox" title="Show arrow buttons on the last in-chat message to generate alternative AI responses. Both PC and mobile." data-i18n="[title]Show arrow buttons on the last in-chat message to generate alternative AI responses. Both PC and mobile">4104 <label class="checkbox_label" for="swipes-checkbox" title="Show arrow buttons on the last in-chat message to generate alternative AI responses. Both PC and mobile." data-i18n="[title]Show arrow buttons on the last in-chat message to generate alternative AI responses. Both PC and mobile">
4109 <input id="swipes-checkbox" type="checkbox" />4105 <input id="swipes-checkbox" type="checkbox" />
4110 <small data-i18n="Swipes">Swipes</small><i class="fa-solid fa-desktop"></i><i class="fa-solid fa-mobile-screen-button"></i>4106 <small data-i18n="Swipes">Swipes</small><i class="fa-solid fa-desktop"></i><i class="fa-solid fa-mobile-screen-button"></i>
4111 </label>4107 </label>
4112 <label data-newbie-hidden class="checkbox_label" for="gestures-checkbox" title="Allow using swiping gestures on the last in-chat message to trigger swipe generation. Mobile only, no effect on PC." , data-i18n="[title]Allow using swiping gestures on the last in-chat message to trigger swipe generation. Mobile only, no effect on PC">4108 <label class="checkbox_label" for="gestures-checkbox" title="Allow using swiping gestures on the last in-chat message to trigger swipe generation. Mobile only, no effect on PC." , data-i18n="[title]Allow using swiping gestures on the last in-chat message to trigger swipe generation. Mobile only, no effect on PC">
4113 <input id="gestures-checkbox" type="checkbox" />4109 <input id="gestures-checkbox" type="checkbox" />
4114 <small data-i18n="Gestures">Gestures</small>4110 <small data-i18n="Gestures">Gestures</small>
4115 <i class="fa-solid fa-mobile-screen-button"></i>4111 <i class="fa-solid fa-mobile-screen-button"></i>
@@ -4119,15 +4115,15 @@
4119 <input id="auto-load-chat-checkbox" type="checkbox" />4115 <input id="auto-load-chat-checkbox" type="checkbox" />
4120 <small data-i18n="Auto-load Last Chat">Auto-load Last Chat</small>4116 <small data-i18n="Auto-load Last Chat">Auto-load Last Chat</small>
4121 </label>4117 </label>
4122 <label data-newbie-hidden for="auto_scroll_chat_to_bottom" class="checkbox_label">4118 <label for="auto_scroll_chat_to_bottom" class="checkbox_label">
4123 <input id="auto_scroll_chat_to_bottom" type="checkbox" />4119 <input id="auto_scroll_chat_to_bottom" type="checkbox" />
4124 <small data-i18n="Auto-scroll Chat">Auto-scroll Chat</small>4120 <small data-i18n="Auto-scroll Chat">Auto-scroll Chat</small>
4125 </label>4121 </label>
4126 <label data-newbie-hidden class="checkbox_label" for="auto_save_msg_edits" title="Save edits to messages without confirmation as you type." data-i18n="[title]Save edits to messages without confirmation as you type">4122 <label class="checkbox_label" for="auto_save_msg_edits" title="Save edits to messages without confirmation as you type." data-i18n="[title]Save edits to messages without confirmation as you type">
4127 <input id="auto_save_msg_edits" type="checkbox" />4123 <input id="auto_save_msg_edits" type="checkbox" />
4128 <small data-i18n="Auto-save Message Edits">Auto-save Message Edits</small>4124 <small data-i18n="Auto-save Message Edits">Auto-save Message Edits</small>
4129 </label>4125 </label>
4130 <label data-newbie-hidden class="checkbox_label" for="confirm_message_delete">4126 <label class="checkbox_label" for="confirm_message_delete">
4131 <input id="confirm_message_delete" type="checkbox" />4127 <input id="confirm_message_delete" type="checkbox" />
4132 <small data-i18n="Confirm message deletion">Confirm message deletion</small>4128 <small data-i18n="Confirm message deletion">Confirm message deletion</small>
4133 </label>4129 </label>
@@ -4135,7 +4131,7 @@
4135 <input id="auto_fix_generated_markdown" type="checkbox" />4131 <input id="auto_fix_generated_markdown" type="checkbox" />
4136 <small data-i18n="Auto-fix Markdown">Auto-fix Markdown</small>4132 <small data-i18n="Auto-fix Markdown">Auto-fix Markdown</small>
4137 </label>4133 </label>
4138 <label data-newbie-hidden class="checkbox_label" for="render_formulas" title="Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX." data-i18n="[title]Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX">4134 <label class="checkbox_label" for="render_formulas" title="Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX." data-i18n="[title]Render LaTeX and AsciiMath equation notation in chat messages. Powered by KaTeX">
4139 <input id="render_formulas" type="checkbox" />4135 <input id="render_formulas" type="checkbox" />
4140 <small data-i18n="Render Formulas">Render Formulas</small>4136 <small data-i18n="Render Formulas">Render Formulas</small>
4141 <a href="https://docs.sillytavern.app/usage/core-concepts/uicustomization/#formulas-rendering" class="notes-link" target="_blank">4137 <a href="https://docs.sillytavern.app/usage/core-concepts/uicustomization/#formulas-rendering" class="notes-link" target="_blank">
@@ -4146,11 +4142,11 @@
4146 <input id="forbid_external_media" type="checkbox" />4142 <input id="forbid_external_media" type="checkbox" />
4147 <small data-i18n="Forbid External Media">Forbid External Media</small>4143 <small data-i18n="Forbid External Media">Forbid External Media</small>
4148 </label>4144 </label>
4149 <label data-newbie-hidden class="checkbox_label" for="allow_name2_display">4145 <label class="checkbox_label" for="allow_name2_display">
4150 <input id="allow_name2_display" type="checkbox" />4146 <input id="allow_name2_display" type="checkbox" />
4151 <small data-i18n="Allow {{char}}: in bot messages">Show {{char}}: in responses</small>4147 <small data-i18n="Allow {{char}}: in bot messages">Show {{char}}: in responses</small>
4152 </label>4148 </label>
4153 <label data-newbie-hidden class="checkbox_label" for="allow_name1_display">4149 <label class="checkbox_label" for="allow_name1_display">
4154 <input id="allow_name1_display" type="checkbox" />4150 <input id="allow_name1_display" type="checkbox" />
4155 <small data-i18n="Allow {{user}}: in bot messages">Show {{user}}: in responses</small>4151 <small data-i18n="Allow {{user}}: in bot messages">Show {{user}}: in responses</small>
4156 </label>4152 </label>
@@ -4158,23 +4154,23 @@
4158 <input id="encode_tags" type="checkbox" />4154 <input id="encode_tags" type="checkbox" />
4159 <small data-i18n="Show tags in responses">Show &lt;tags&gt; in responses</small>4155 <small data-i18n="Show tags in responses">Show &lt;tags&gt; in responses</small>
4160 </label>4156 </label>
4161 <label data-newbie-hidden class="checkbox_label" for="disable_group_trimming" title="Allow AI messages in groups to contain lines spoken by other group members." data-i18n="[title]Allow AI messages in groups to contain lines spoken by other group members">4157 <label class="checkbox_label" for="disable_group_trimming" title="Allow AI messages in groups to contain lines spoken by other group members." data-i18n="[title]Allow AI messages in groups to contain lines spoken by other group members">
4162 <input id="disable_group_trimming" type="checkbox" />4158 <input id="disable_group_trimming" type="checkbox" />
4163 <small data-i18n="Relax message trim in Groups">Relax message trim in Groups</small>4159 <small data-i18n="Relax message trim in Groups">Relax message trim in Groups</small>
4164 </label>4160 </label>
4165 <label data-newbie-hidden class="checkbox_label" for="console_log_prompts">4161 <label class="checkbox_label" for="console_log_prompts">
4166 <input id="console_log_prompts" type="checkbox" />4162 <input id="console_log_prompts" type="checkbox" />
4167 <small data-i18n="Log prompts to console">Log prompts to console</small>4163 <small data-i18n="Log prompts to console">Log prompts to console</small>
4168 </label>4164 </label>
4169 <label data-newbie-hidden class="checkbox_label" for="request_token_probabilities" title="Requests logprobs from the API for the Token Probabilities feature." data-i18n="[title]Requests logprobs from the API for the Token Probabilities feature">4165 <label class="checkbox_label" for="request_token_probabilities" title="Requests logprobs from the API for the Token Probabilities feature." data-i18n="[title]Requests logprobs from the API for the Token Probabilities feature">
4170 <input id="request_token_probabilities" type="checkbox" />4166 <input id="request_token_probabilities" type="checkbox" />
4171 <small data-i18n="Request token probabilities">Request token probabilities</small>4167 <small data-i18n="Request token probabilities">Request token probabilities</small>
4172 </label>4168 </label>
4173 <label data-newbie-hidden class="checkbox_label" for="show_group_chat_queue" title="In group chat, highlight the character(s) that are currently queued to generate responses and the order in which they will respond." data-i18n="[title]In group chat, highlight the character(s) that are currently queued to generate responses and the order in which they will respond.">4169 <label class="checkbox_label" for="show_group_chat_queue" title="In group chat, highlight the character(s) that are currently queued to generate responses and the order in which they will respond." data-i18n="[title]In group chat, highlight the character(s) that are currently queued to generate responses and the order in which they will respond.">
4174 <input id="show_group_chat_queue" type="checkbox" />4170 <input id="show_group_chat_queue" type="checkbox" />
4175 <small data-i18n="Show group chat queue">Show group chat queue</small>4171 <small data-i18n="Show group chat queue">Show group chat queue</small>
4176 </label>4172 </label>
4177 <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn">4173 <div class="inline-drawer wide100p flexFlowColumn">
4178 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Automatically reject and re-generate AI message based on configurable criteria." data-i18n="[title]Automatically reject and re-generate AI message based on configurable criteria">4174 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Automatically reject and re-generate AI message based on configurable criteria." data-i18n="[title]Automatically reject and re-generate AI message based on configurable criteria">
4179 <b><span data-i18n="Auto-swipe">Auto-swipe</span></b>4175 <b><span data-i18n="Auto-swipe">Auto-swipe</span></b>
4180 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>4176 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -4194,7 +4190,7 @@
4194 </div>4190 </div>
4195 </div>4191 </div>
4196 </div>4192 </div>
4197 <div data-newbie-hidden nane="AutoContiueBlock" class="inline-drawer wide100p flexFlowColumn">4193 <div nane="AutoContiueBlock" class="inline-drawer wide100p flexFlowColumn">
4198 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Automatically 'continue' a response if the model stopped before reaching a certain amount of tokens.">4194 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Automatically 'continue' a response if the model stopped before reaching a certain amount of tokens.">
4199 <b><span data-i18n="Auto-swipe">Auto-Continue</span></b>4195 <b><span data-i18n="Auto-swipe">Auto-Continue</span></b>
4200 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>4196 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -4231,7 +4227,7 @@
4231 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>4227 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
4232 </div>4228 </div>
4233 <div class="inline-drawer-content">4229 <div class="inline-drawer-content">
4234 <label data-newbie-hidden class="checkbox_label" for="stscript_autocomplete_autoHide">4230 <label class="checkbox_label" for="stscript_autocomplete_autoHide">
4235 <input id="stscript_autocomplete_autoHide" type="checkbox" />4231 <input id="stscript_autocomplete_autoHide" type="checkbox" />
4236 <small data-i18n="Automatically hide details">4232 <small data-i18n="Automatically hide details">
4237 Automatically hide details4233 Automatically hide details
@@ -4503,7 +4499,7 @@
4503 <div class="extension_token_counter">4499 <div class="extension_token_counter">
4504 <span data-i18n="Tokens persona description">Tokens</span>: <span id="persona_description_token_count">0</span>4500 <span data-i18n="Tokens persona description">Tokens</span>: <span id="persona_description_token_count">0</span>
4505 </div>4501 </div>
4506 <div data-newbie-hidden>4502 <div>
4507 <label for="persona_description_position" data-i18n="Position:">Position:</label>4503 <label for="persona_description_position" data-i18n="Position:">Position:</label>
4508 <select id="persona_description_position">4504 <select id="persona_description_position">
4509 <option value="9" data-i18n="None (disabled)">None (disabled)</option>4505 <option value="9" data-i18n="None (disabled)">None (disabled)</option>
@@ -5782,6 +5778,11 @@
5782 <div title="Caption" class="right_menu_button fa-lg fa-solid fa-envelope-open-text mes_img_caption" data-i18n="[title]Caption"></div>5778 <div title="Caption" class="right_menu_button fa-lg fa-solid fa-envelope-open-text mes_img_caption" data-i18n="[title]Caption"></div>
5783 <div title="Delete" class="right_menu_button fa-lg fa-solid fa-trash-can mes_img_delete" data-i18n="[title]Delete"></div>5779 <div title="Delete" class="right_menu_button fa-lg fa-solid fa-trash-can mes_img_delete" data-i18n="[title]Delete"></div>
5784 </div>5780 </div>
5781 <div class="mes_img_swipes">
5782 <div title="Swipe left" class="right_menu_button fa-lg fa-solid fa-chevron-left mes_img_swipe_left" data-i18n="[title]Swipe left"></div>
5783 <div class="mes_img_swipe_counter">1/1</div>
5784 <div title="Swipe right" class="right_menu_button fa-lg fa-solid fa-chevron-right mes_img_swipe_right" data-i18n="[title]Swipe right"></div>
5785 </div>
5785 <img class="mes_img" src="" />5786 <img class="mes_img" src="" />
5786 </div>5787 </div>
5787 <div class="mes_bias"></div>5788 <div class="mes_bias"></div>
@@ -5815,11 +5816,6 @@
5815 <div id="onboarding_template" class="template_element">5816 <div id="onboarding_template" class="template_element">
5816 <div class="onboarding">5817 <div class="onboarding">
5817 <h3 data-i18n="Welcome to SillyTavern!">Welcome to SillyTavern!</h3>5818 <h3 data-i18n="Welcome to SillyTavern!">Welcome to SillyTavern!</h3>
5818 <ul class="justifyLeft margin-bot-10px">
5819 <li><span data-i18n="welcome_message_part_1">Read the</span> <a href="https://docs.sillytavern.app/" target="_blank" data-i18n="welcome_message_part_2">Official Documentation</a><span data-i18n="welcome_message_part_3">.</span></li>
5820 <li><span data-i18n="welcome_message_part_4">Type</span> <code>/help</code> <span data-i18n="welcome_message_part_5">in chat for commands and macros.</span></li>
5821 <li><span data-i18n="welcome_message_part_6">Join the</span> <a href="https://discord.gg/sillytavern" data-i18n="Discord server" target="_blank">Discord server</a> <span data-i18n="welcome_message_part_7">for info and announcements.</span></li>
5822 </ul>
5823 <div id="onboarding-UI-language-block" class="flex-container alignItemsBaseline">5819 <div id="onboarding-UI-language-block" class="flex-container alignItemsBaseline">
5824 <span data-i18n="UI Language">Language:</span>5820 <span data-i18n="UI Language">Language:</span>
5825 <select id="onboarding_ui_language_select" class="flex1 margin0">5821 <select id="onboarding_ui_language_select" class="flex1 margin0">
@@ -5829,21 +5825,11 @@
5829 <b data-i18n="SillyTavern is aimed at advanced users.">5825 <b data-i18n="SillyTavern is aimed at advanced users.">
5830 SillyTavern is aimed at advanced users.5826 SillyTavern is aimed at advanced users.
5831 </b>5827 </b>
5832 <div>5828 <ul class="justifyLeft marginTopBot5">
5833 <span data-i18n="If you're new to this, enable the simplified UI mode below.">5829 <li><span data-i18n="welcome_message_part_1">Read the</span> <a href="https://docs.sillytavern.app/" target="_blank" data-i18n="welcome_message_part_2">Official Documentation</a><span data-i18n="welcome_message_part_3">.</span></li>
5834 If you're new to this, enable the simplified UI mode below.5830 <li><span data-i18n="welcome_message_part_4">Type</span> <code>/help</code> <span data-i18n="welcome_message_part_5">in chat for commands and macros.</span></li>
5835 </span>5831 <li><span data-i18n="welcome_message_part_6">Join the</span> <a href="https://discord.gg/sillytavern" data-i18n="Discord server" target="_blank">Discord server</a> <span data-i18n="welcome_message_part_7">for info and announcements.</span></li>
5836 <br>5832 </ul>
5837 <span data-i18n="Change it later in the 'User Settings' panel.">
5838 Change it later in the 'User Settings' panel.
5839 </span>
5840 </div>
5841 <label class="checkbox_label">
5842 <input type="checkbox" name="enable_simple_mode" />
5843 <span data-i18n="Enable simple UI mode">
5844 Enable simple UI mode
5845 </span>
5846 </label>
5847 <div class="expander"></div>5833 <div class="expander"></div>
5848 <div class="textAlignCenter">5834 <div class="textAlignCenter">
5849 <h3 data-i18n="Looking for AI characters?">5835 <h3 data-i18n="Looking for AI characters?">
@@ -6401,11 +6387,11 @@
6401 <i class="fa-lg fa-solid fa-note-sticky"></i>6387 <i class="fa-lg fa-solid fa-note-sticky"></i>
6402 <span data-i18n="Author's Note">Author's Note</span>6388 <span data-i18n="Author's Note">Author's Note</span>
6403 </a>6389 </a>
6404 <a data-newbie-hidden id="option_toggle_CFG">6390 <a id="option_toggle_CFG">
6405 <i class="fa-lg fa-solid fa-scale-balanced"></i>6391 <i class="fa-lg fa-solid fa-scale-balanced"></i>
6406 <span data-i18n="CFG Scale">CFG Scale</span>6392 <span data-i18n="CFG Scale">CFG Scale</span>
6407 </a>6393 </a>
6408 <a data-newbie-hidden id="option_toggle_logprobs">6394 <a id="option_toggle_logprobs">
6409 <i class="fa-lg fa-solid fa-pie-chart"></i>6395 <i class="fa-lg fa-solid fa-pie-chart"></i>
6410 <span data-i18n="Token Probabilities">Token Probabilities</span>6396 <span data-i18n="Token Probabilities">Token Probabilities</span>
6411 </a>6397 </a>
public/script.js+3 -2
@@ -1,4 +1,4 @@
1import { humanizedDateTime, favsToHotswap, getMessageTimeStamp, dragElement, isMobile, initRossMods, shouldSendOnEnter } from './scripts/RossAscends-mods.js';1import { humanizedDateTime, favsToHotswap, getMessageTimeStamp, dragElement, isMobile, initRossMods, shouldSendOnEnter, addSafariPatch } from './scripts/RossAscends-mods.js';
2import { userStatsHandler, statMesProcess, initStats } from './scripts/stats.js';2import { userStatsHandler, statMesProcess, initStats } from './scripts/stats.js';
3import {3import {
4 generateKoboldWithStreaming,4 generateKoboldWithStreaming,
@@ -916,6 +916,7 @@ async function firstLoadInit() {
916 throw new Error('Initialization failed');916 throw new Error('Initialization failed');
917 }917 }
918918
919 addSafariPatch();
919 await getClientVersion();920 await getClientVersion();
920 await readSecretState();921 await readSecretState();
921 initLocales();922 initLocales();
@@ -6322,7 +6323,7 @@ export function setUserName(value) {
63226323
6323async function doOnboarding(avatarId) {6324async function doOnboarding(avatarId) {
6324 const template = $('#onboarding_template .onboarding');6325 const template = $('#onboarding_template .onboarding');
6325 let userName = await callGenericPopup(template, POPUP_TYPE.INPUT, currentUser?.name || name1, { rows: 2, wide: true, large: true });6326 let userName = await callGenericPopup(template, POPUP_TYPE.INPUT, currentUser?.name || name1, { rows: 2, wider: true, cancelButton: false });
63266327
6327 if (userName) {6328 if (userName) {
6328 userName = String(userName).replace('\n', ' ');6329 userName = String(userName).replace('\n', ' ');
public/scripts/RossAscends-mods.js+12 -10
@@ -711,6 +711,18 @@ export const autoFitSendTextAreaDebounced = debounce(autoFitSendTextArea, deboun
711711
712// ---------------------------------------------------712// ---------------------------------------------------
713713
714export function addSafariPatch() {
715 const userAgent = getParsedUA();
716 console.debug('User Agent', userAgent);
717 const isMobileSafari = /iPad|iPhone|iPod/.test(navigator.platform) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
718 const isDesktopSafari = userAgent?.browser?.name === 'Safari' && userAgent?.platform?.type === 'desktop';
719 const isIOS = userAgent?.os?.name === 'iOS';
720
721 if (isIOS || isMobileSafari || isDesktopSafari) {
722 document.body.classList.add('safari');
723 }
724}
725
714export function initRossMods() {726export function initRossMods() {
715 // initial status check727 // initial status check
716 setTimeout(() => {728 setTimeout(() => {
@@ -725,16 +737,6 @@ export function initRossMods() {
725 RA_autoconnect();737 RA_autoconnect();
726 }738 }
727739
728 const userAgent = getParsedUA();
729 console.debug('User Agent', userAgent);
730 const isMobileSafari = /iPad|iPhone|iPod/.test(navigator.platform) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
731 const isDesktopSafari = userAgent?.browser?.name === 'Safari' && userAgent?.platform?.type === 'desktop';
732 const isIOS = userAgent?.os?.name === 'iOS';
733
734 if (isIOS || isMobileSafari || isDesktopSafari) {
735 document.body.classList.add('safari');
736 }
737
738 $('#main_api').change(function () {740 $('#main_api').change(function () {
739 var PrevAPI = main_api;741 var PrevAPI = main_api;
740 setTimeout(() => RA_autoconnect(PrevAPI), 100);742 setTimeout(() => RA_autoconnect(PrevAPI), 100);
public/scripts/popup.js+1 -0
@@ -281,6 +281,7 @@ export class Popup {
281 case POPUP_TYPE.INPUT: {281 case POPUP_TYPE.INPUT: {
282 this.mainInput.style.display = 'block';282 this.mainInput.style.display = 'block';
283 if (!okButton) this.okButton.textContent = template.getAttribute('popup-button-save');283 if (!okButton) this.okButton.textContent = template.getAttribute('popup-button-save');
284 if (cancelButton === false) this.cancelButton.style.display = 'none';
284 break;285 break;
285 }286 }
286 case POPUP_TYPE.DISPLAY: {287 case POPUP_TYPE.DISPLAY: {
public/scripts/power-user.js+0 -21
@@ -75,11 +75,6 @@ const defaultStoryString = '{{#if system}}{{system}}\n{{/if}}{{#if description}}
75const defaultExampleSeparator = '***';75const defaultExampleSeparator = '***';
76const defaultChatStart = '***';76const defaultChatStart = '***';
7777
78export const ui_mode = {
79 SIMPLE: 0,
80 POWER: 1,
81};
82
83const avatar_styles = {78const avatar_styles = {
84 ROUND: 0,79 ROUND: 0,
85 RECTANGULAR: 1,80 RECTANGULAR: 1,
@@ -132,7 +127,6 @@ let power_user = {
132 smooth_streaming: false,127 smooth_streaming: false,
133 smooth_streaming_speed: 50,128 smooth_streaming_speed: 50,
134129
135 ui_mode: ui_mode.POWER,
136 fast_ui_mode: true,130 fast_ui_mode: true,
137 avatar_style: avatar_styles.ROUND,131 avatar_style: avatar_styles.ROUND,
138 chat_display: chat_styles.DEFAULT,132 chat_display: chat_styles.DEFAULT,
@@ -331,12 +325,6 @@ const debug_functions = [];
331325
332const setHotswapsDebounced = debounce(favsToHotswap);326const setHotswapsDebounced = debounce(favsToHotswap);
333327
334export function switchSimpleMode() {
335 $('[data-newbie-hidden]').each(function () {
336 $(this).toggleClass('displayNone', power_user.ui_mode === ui_mode.SIMPLE);
337 });
338}
339
340function playMessageSound() {328function playMessageSound() {
341 if (!power_user.play_message_sound) {329 if (!power_user.play_message_sound) {
342 return;330 return;
@@ -1586,7 +1574,6 @@ async function loadPowerUserSettings(settings, data) {
1586 $('#bot-mes-blur-tint-color-picker').attr('color', power_user.bot_mes_blur_tint_color);1574 $('#bot-mes-blur-tint-color-picker').attr('color', power_user.bot_mes_blur_tint_color);
1587 $('#shadow-color-picker').attr('color', power_user.shadow_color);1575 $('#shadow-color-picker').attr('color', power_user.shadow_color);
1588 $('#border-color-picker').attr('color', power_user.border_color);1576 $('#border-color-picker').attr('color', power_user.border_color);
1589 $('#ui_mode_select').val(power_user.ui_mode).find(`option[value="${power_user.ui_mode}"]`).attr('selected', true);
1590 $('#reduced_motion').prop('checked', power_user.reduced_motion);1577 $('#reduced_motion').prop('checked', power_user.reduced_motion);
1591 $('#auto-connect-checkbox').prop('checked', power_user.auto_connect);1578 $('#auto-connect-checkbox').prop('checked', power_user.auto_connect);
1592 $('#auto-load-chat-checkbox').prop('checked', power_user.auto_load_chat);1579 $('#auto-load-chat-checkbox').prop('checked', power_user.auto_load_chat);
@@ -1620,7 +1607,6 @@ async function loadPowerUserSettings(settings, data) {
1620 switchSpoilerMode();1607 switchSpoilerMode();
1621 loadMovingUIState();1608 loadMovingUIState();
1622 loadCharListState();1609 loadCharListState();
1623 switchSimpleMode();
1624}1610}
16251611
1626async function loadCharListState() {1612async function loadCharListState() {
@@ -3683,13 +3669,6 @@ $(document).ready(() => {
3683 showDebugMenu();3669 showDebugMenu();
3684 });3670 });
36853671
3686 $('#ui_mode_select').on('change', function () {
3687 const value = $(this).find(':selected').val();
3688 power_user.ui_mode = Number(value);
3689 switchSimpleMode();
3690 saveSettingsDebounced();
3691 });
3692
3693 $('#bogus_folders').on('input', function () {3672 $('#bogus_folders').on('input', function () {
3694 power_user.bogus_folders = !!$(this).prop('checked');3673 power_user.bogus_folders = !!$(this).prop('checked');
3695 printCharactersDebounced();3674 printCharactersDebounced();