Merge branch 'staging' into del-swipe-fix

4e95887803282a8f53b78468f623f721350b7ff4

Wolfsblvt <wolfsblvt@gmail.com>

5 files changed, +183 -214Showing whitespace changes
public/index.html+167 -181
@@ -98,12 +98,12 @@
9898 </select>
9999 <div class="flex-container marginLeft5 ">
100100 <input type="file" hidden data-preset-manager-file="kobold" accept=".json, .settings">
101101 <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>
102102 <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>
103103 <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>
104104 <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>
105105 <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>
106106 <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>
107107 </div>
108108 </div>
109109 </div>
@@ -120,12 +120,12 @@
120120 </select>
121121 <div class="flex-container marginLeft5 ">
122122 <input type="file" hidden data-preset-manager-file="novel" accept=".json, .settings">
123123 <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>
124124 <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>
125125 <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>
126126 <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>
127127 <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>
128128 <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>
129129 </div>
130130 </div>
131131 </div>
@@ -140,9 +140,9 @@
140140 <input id="openai_preset_import_file" type="file" accept=".json,.settings" hidden />
141141 <i id="update_oai_preset" class="menu_button fa-solid fa-save" title="Update current preset" data-i18n="[title]Update current preset"></i>
142142 <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>
143143 <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>
144144 <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>
145145 <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>
146146 </div>
147147 </div>
148148 </div>
@@ -154,17 +154,17 @@
154154 </select>
155155 <div class="flex-container marginLeft5 ">
156156 <input type="file" hidden data-preset-manager-file="textgenerationwebui" accept=".json, .settings">
157157 <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>
158158 <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>
159159 <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>
160160 <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>
161161 <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>
162162 <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>
163163 </div>
164164 </div>
165165 </div>
166166 </div>
167167 <div data-newbie-hidden id="ai_module_block_novel" class="width100p">
168168 <div class="range-block">
169169 <div class="range-block-title justifyLeft" data-i18n="AI Module">
170170 AI Module
@@ -271,7 +271,7 @@
271271 </div>
272272 </div>
273273 </div>
274274 <div data-newbie-hidden class="range-block">
275275 <div class="range-block-title" data-i18n="Rep. Pen. Range.">
276276 Rep Pen Range
277277 </div>
@@ -284,7 +284,7 @@
284284 </div>
285285 </div>
286286 </div>
287287 <div data-newbie-hidden class="range-block">
288288 <div class="range-block-title" data-i18n="Rep. Pen. Slope">
289289 Repetition Penalty Slope
290290 </div>
@@ -297,7 +297,7 @@
297297 </div>
298298 </div>
299299 </div>
300300 <div data-newbie-hidden class="range-block">
301301 <div class="range-block-title" data-i18n="Rep. Pen. Freq.">
302302 Repetition Penalty Frequency
303303 </div>
@@ -310,7 +310,7 @@
310310 </div>
311311 </div>
312312 </div>
313313 <div data-newbie-hidden class="range-block">
314314 <div class="range-block-title" data-i18n="Rep. Pen. Presence">
315315 Repetition Penalty Presence
316316 </div>
@@ -323,7 +323,7 @@
323323 </div>
324324 </div>
325325 </div>
326326 <div data-newbie-hidden class="range-block">
327327 <div class="range-block-title" data-i18n="TFS">
328328 TFS
329329 </div>
@@ -336,7 +336,7 @@
336336 </div>
337337 </div>
338338 </div>
339339 <div data-newbie-hidden class="range-block">
340340 <div class="range-block-title" data-i18n="Phrase Repetition Penalty">
341341 Phrase Repetition Penalty
342342 </div>
@@ -351,7 +351,7 @@
351351 </div>
352352 </div>
353353 <div id="range_block_openai">
354354 <div data-newbie-hidden class="range-block">
355355 <label class="checkbox_label">
356356 <input id="oai_max_context_unlocked" type="checkbox" />
357357 <span data-i18n="Unlocked Context Size">
@@ -436,7 +436,7 @@
436436 </div>
437437 </div>
438438 </div>
439439 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">
440440 <div class="range-block-title" data-i18n="Frequency Penalty">
441441 Frequency Penalty
442442 </div>
@@ -449,7 +449,7 @@
449449 </div>
450450 </div>
451451 </div>
452452 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,custom,cohere,perplexity,groq">
453453 <div class="range-block-title" data-i18n="Presence Penalty">
454454 Presence Penalty
455455 </div>
@@ -462,7 +462,7 @@
462462 </div>
463463 </div>
464464 </div>
465465 <div data-newbie-hidden class="range-block" data-source="claude,openrouter,makersuite,cohere,perplexity">
466466 <div class="range-block-title" data-i18n="Top K">
467467 Top K
468468 </div>
@@ -475,7 +475,7 @@
475475 </div>
476476 </div>
477477 </div>
478478 <div data-newbie-hidden class="range-block" data-source="openai,claude,openrouter,ai21,scale,makersuite,mistralai,custom,cohere,perplexity,groq,01ai">
479479 <div class="range-block-title" data-i18n="Top P">
480480 Top P
481481 </div>
@@ -488,7 +488,7 @@
488488 </div>
489489 </div>
490490 </div>
491491 <div data-newbie-hidden class="range-block" data-source="openrouter">
492492 <div class="range-block-title" data-i18n="Repetition Penalty">
493493 Repetition Penalty
494494 </div>
@@ -501,7 +501,7 @@
501501 </div>
502502 </div>
503503 </div>
504504 <div data-newbie-hidden class="range-block" data-source="openrouter">
505505 <div class="range-block-title" data-i18n="Min P">
506506 Min P
507507 </div>
@@ -514,7 +514,7 @@
514514 </div>
515515 </div>
516516 </div>
517517 <div data-newbie-hidden class="range-block" data-source="openrouter">
518518 <div class="range-block-title" data-i18n="Top A">
519519 Top A
520520 </div>
@@ -712,7 +712,7 @@
712712 </div>
713713 </div>
714714 </div>
715715 <div data-newbie-hidden class="range-block" data-source="openai,openrouter,mistralai,custom,cohere,groq">
716716 <div class="range-block-title justifyLeft" data-i18n="Seed">
717717 Seed
718718 </div>
@@ -736,7 +736,7 @@
736736 <input class="neo-range-slider" type="range" id="temp" name="volume" min="0.0" max="4.0" step="0.01">
737737 <input class="neo-range-input" type="number" min="0.0" max="4.0" step="0.01" data-for="temp" id="temp_counter">
738738 </div>
739739 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
740740 <small>
741741 <span data-i18n="Top K">Top K</span>
742742 <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 @@
744744 <input class="neo-range-slider" type="range" id="top_k" name="volume" min="0" max="100" step="1">
745745 <input class="neo-range-input" type="number" min="0" max="100" step="1" data-for="top_k" id="top_k_counter">
746746 </div>
747747 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
748748 <small>
749749 Top P
750750 <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 @@
752752 <input class="neo-range-slider" type="range" id="top_p" name="volume" min="0" max="1" step="0.01">
753753 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p" id="top_p_counter">
754754 </div>
755755 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
756756 <small>
757757 <span data-i18n="Typical P">Typical P</span>
758758 <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 @@
768768 <input class="neo-range-slider" type="range" id="min_p" name="volume" min="0" max="1" step="0.001">
769769 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p" id="min_p_counter">
770770 </div>
771771 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
772772 <small>
773773 <span data-i18n="Top A">Top A</span>
774774 <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 @@
776776 <input class="neo-range-slider" type="range" id="top_a" name="volume" min="0" max="1" step="0.001">
777777 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="top_a" id="top_a_counter">
778778 </div>
779779 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
780780 <small>
781781 <span data-i18n="TFS">TFS</span>
782782 <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 @@
798798 <input class="neo-range-slider" type="range" id="rep_pen_range" name="volume" min="0" max="4096" step="1">
799799 <input class="neo-range-input" type="number" min="0" max="4096" step="1" data-for="rep_pen_range" id="rep_pen_range_counter">
800800 </div>
801801 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
802802 <small>
803803 <span data-i18n="Rep. Pen. Slope">Repetition Penalty Slope</span>
804804 </small>
805805 <input class="neo-range-slider" type="range" id="rep_pen_slope" name="volume" min="0" max="10" step="0.01">
806806 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="rep_pen_slope" id="rep_pen_slope_counter">
807807 </div>
808808 <div data-newbie-hidden name="miroStatBlock-kobold" class="wide100p">
809809 <h4 class="wide100p textAlignCenter" data-i18n="Mirostat">Mirostat</h4>
810810 <div class="flex-container flexFlowRow gap10px flexShrink">
811811 <div class="alignitemscenter flex-container flexFlowColumn flexGrow flexShrink gap0">
@@ -835,7 +835,7 @@
835835 </div>
836836 <hr class="wide100p">
837837 </div>
838838 <div data-newbie-hidden class="alignitemscenter justifyCenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
839839 <label class="checkbox_label alignItemsBaseline" for="use_default_badwordsids">
840840 <input id="use_default_badwordsids" type="checkbox" />
841841 <span>
@@ -844,13 +844,13 @@
844844 </span>
845845 </label>
846846 </div>
847847 <div data-newbie-hidden class="alignitemscenter textAlignCenter flexBasis30p flexGrow flexShrink gap0">
848848 <!-- <hr class="wide100p"> -->
849849 <small data-i18n="Seed">Seed</small>
850850 <!-- Max value is 2**64 - 1 -->
851851 <input type="number" id="seed_kobold" class="text_pole wideMax100px" min="-1" value="-1" max="18446744073709551615" />
852852 </div>
853853 <div data-newbie-hidden id="grammar_block" class="wide100p">
854854 <hr class="wide100p">
855855 <h4 class="wide100p textAlignCenter"><span data-i18n="GBNF Grammar">GBNF Grammar</span>
856856 <a href="https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md" target="_blank">
@@ -861,7 +861,7 @@
861861 </h4>
862862 <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>
863863 </div>
864864 <div data-newbie-hidden name="KoboldSamplerOrderBlock" class="range-block flexFlowColumn">
865865 <hr class="wide100p">
866866 <div class="range-block-title">
867867 <span data-i18n="Samplers Order">Samplers Order</span>
@@ -906,7 +906,7 @@
906906 </div>
907907 </div>
908908 </div><!-- end of kobold settings-->
909909 <div data-newbie-hidden id="novel_api-settings">
910910 <div class="range-block">
911911 <div class="range-block-title openai_restorable">
912912 <span data-i18n="Preamble">Preamble</span>
@@ -1117,7 +1117,7 @@
11171117 </div>
11181118 </div><!-- end of novel settings-->
11191119 <div id="textgenerationwebui_api-settings">
11201120 <div data-newbie-hidden class="flex-container justifyCenter">
11211121 <small class="flex-container alignitemscenter">
11221122 <div id="samplerResetButton" class="menu_button whitespacenowrap" data-i18n="Neutralize Samplers">Neutralize Samplers</div>
11231123 <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 @@
11281128 <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>
11291129 </small>
11301130 </div>
11311131 <div data-newbie-hidden data-tg-type="mancer, vllm, aphrodite, tabby, infermaticai" class="flex-container flexFlowColumn alignitemscenter flexBasis100p flexGrow flexShrink gap0">
11321132 <small data-i18n="Multiple swipes per generation">Multiple swipes per generation</small>
11331133 <input type="number" id="n_textgenerationwebui" class="text_pole textAlignCenter" min="1" value="1" step="1" />
11341134 </div>
@@ -1141,7 +1141,7 @@
11411141 <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">
11421142 <input class="neo-range-input" type="number" min="0.0" max="5.0" step="0.01" data-for="temp_textgenerationwebui" id="temp_counter_textgenerationwebui">
11431143 </div>
11441144 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11451145 <small>
11461146 <span data-i18n="Top K">Top K</span>
11471147 <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 @@
11491149 <input class="neo-range-slider" type="range" id="top_k_textgenerationwebui" name="volume" min="-1" max="200" step="1">
11501150 <input class="neo-range-input" type="number" min="-1" max="200" step="1" data-for="top_k_textgenerationwebui" id="top_k_counter_textgenerationwebui">
11511151 </div>
11521152 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11531153 <small>
11541154 <span data-i18n="Top P">Top P</span>
11551155 <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 @@
11571157 <input class="neo-range-slider" type="range" id="top_p_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
11581158 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_p_textgenerationwebui" id="top_p_counter_textgenerationwebui">
11591159 </div>
11601160 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11611161 <small>
11621162 <span data-i18n="Typical P">Typical P</span>
11631163 <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 @@
11731173 <input class="neo-range-slider" type="range" id="min_p_textgenerationwebui" name="volume" min="0" max="1" step="0.001">
11741174 <input class="neo-range-input" type="number" min="0" max="1" step="0.001" data-for="min_p_textgenerationwebui" id="min_p_counter_textgenerationwebui">
11751175 </div>
11761176 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11771177 <small>
11781178 <span data-i18n="Top A">Top A</span>
11791179 <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 @@
11811181 <input class="neo-range-slider" type="range" id="top_a_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
11821182 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="top_a_textgenerationwebui" id="top_a_counter_textgenerationwebui">
11831183 </div>
11841184 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11851185 <small>
11861186 <span data-i18n="TFS">TFS</span>
11871187 <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 @@
11891189 <input class="neo-range-slider" type="range" id="tfs_textgenerationwebui" name="volume" min="0" max="1" step="0.01">
11901190 <input class="neo-range-input" type="number" min="0" max="1" step="0.01" data-for="tfs_textgenerationwebui" id="tfs_counter_textgenerationwebui">
11911191 </div>
11921192 <div data-newbie-hidden data-tg-type="ooba,mancer" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
11931193 <small>
11941194 <span data-i18n="Epsilon Cutoff">Epsilon Cutoff</span>
11951195 <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 @@
11971197 <input class="neo-range-slider" type="range" id="epsilon_cutoff_textgenerationwebui" name="volume" min="0" max="9" step="0.01">
11981198 <input class="neo-range-input" type="number" min="0" max="9" step="0.01" data-for="epsilon_cutoff_textgenerationwebui" id="epsilon_cutoff_counter_textgenerationwebui">
11991199 </div>
12001200 <div data-newbie-hidden data-tg-type="ooba,mancer" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12011201 <small>
12021202 <span data-i18n="Eta Cutoff">Eta Cutoff</span>
12031203 <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 @@
12251225 <input class="neo-range-slider" type="range" id="rep_pen_decay_textgenerationwebui" name="volume" min="-1" max="8192" step="1">
12261226 <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">
12271227 </div>
12281228 <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12291229 <small data-i18n="Encoder Rep. Pen.">Encoder Penalty</small>
12301230 <input class="neo-range-slider" type="range" id="encoder_rep_pen_textgenerationwebui" name="volume" min="0.8" max="1.5" step="0.01" />
12311231 <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">
12321232 </div>
12331233 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12341234 <small data-i18n="Frequency Penalty">Frequency Penalty</small>
12351235 <input class="neo-range-slider" type="range" id="freq_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />
12361236 <input class="neo-range-input" type="number" data-for="freq_pen_textgenerationwebui" min="-2" max="2" step="0.01" id="freq_pen_counter_textgenerationwebui">
12371237 </div>
12381238 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12391239 <small data-i18n="Presence Penalty">Presence Penalty</small>
12401240 <input class="neo-range-slider" type="range" id="presence_pen_textgenerationwebui" name="volume" min="-2" max="2" step="0.01" />
12411241 <input class="neo-range-input" type="number" min="-2" max="2" step="0.01" data-for="presence_pen_textgenerationwebui" id="presence_pen_counter_textgenerationwebui">
12421242 </div>
12431243 <div data-tg-type="ooba" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12441244 <small data-i18n="No Repeat Ngram Size">No Repeat Ngram Size</small>
12451245 <input class="neo-range-slider" type="range" id="no_repeat_ngram_size_textgenerationwebui" name="volume" min="0" max="20" step="1">
12461246 <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">
12471247 </div>
12481248 <div data-newbie-hidden data-tg-type="tabby" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12491249 <small data-i18n="Skew">Skew</small>
12501250 <input class="neo-range-slider" type="range" id="skew_textgenerationwebui" name="volume" min="-5" max="5" step="0.01" />
12511251 <input class="neo-range-input" type="number" min="-5" max="5" step="0.01" data-for="skew_textgenerationwebui" id="skew_counter_textgenerationwebui">
12521252 </div>
12531253 <div data-newbie-hidden data-tg-type="mancer, ooba, tabby, dreamgen, infermaticai" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12541254 <small data-i18n="Min Length">Min Length</small>
12551255 <input class="neo-range-slider" type="range" id="min_length_textgenerationwebui" name="volume" min="0" max="2000" step="1" />
12561256 <input class="neo-range-input" type="number" min="0" max="2000" step="1" data-for="min_length_textgenerationwebui" id="min_length_counter_textgenerationwebui">
12571257 </div>
12581258 <div data-newbie-hidden data-tg-type="ooba" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12591259 <small data-i18n="Max Tokens Second">Maximum tokens/second</small>
12601260 <input class="neo-range-slider" type="range" id="max_tokens_second_textgenerationwebui" name="volume" min="0" max="20" step="1" />
12611261 <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">
12621262 </div>
12631263 <div data-newbie-hidden data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" id="smoothingBlock" name="smoothingBlock" class="wide100p">
12641264 <h4 class="wide100p textAlignCenter">
12651265 <label data-i18n="Smooth Sampling">Smooth Sampling</label>
12661266 <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>
12671267 </h4>
12681268 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" class="flex-container flexFlowRow gap10px flexShrink">
12691269 <div data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
12701270 <small data-i18n="Smoothing Factor">Smoothing Factor</small>
12711271 <input class="neo-range-slider" type="range" id="smoothing_factor_textgenerationwebui" name="volume" min="0" max="10" step="0.01" />
12721272 <input class="neo-range-input" type="number" min="0" max="10" step="0.01" data-for="smoothing_factor_textgenerationwebui" id="smoothing_factor_counter_textgenerationwebui">
12731273 </div>
12741274 <div data-tg-type="mancer, ooba, koboldcpp, aphrodite" data-newbie-hidden class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
12751275 <small data-i18n="Smoothing Curve">Smoothing Curve</small>
12761276 <input class="neo-range-slider" type="range" id="smoothing_curve_textgenerationwebui" name="volume" min="1" max="10" step="0.01" />
12771277 <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 @@
12791279 </div>
12801280 </div>
12811281
12821282 <div data-newbie-hidden data-tg-type="koboldcpp" id="xtc_block" class="wide100p">
12831283 <h4 class="wide100p textAlignCenter">
12841284 <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label>
12851285 <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank">
@@ -1301,7 +1301,7 @@
13011301 </div>
13021302
13031303 <!-- Enable for llama.cpp when the PR is merged: https://github.com/ggerganov/llama.cpp/pull/6839 -->
13041304 <div data-newbie-hidden data-tg-type="ooba, koboldcpp" id="dryBlock" class="wide100p">
13051305 <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">
13061306 <label data-i18n="DRY Repetition Penalty">DRY Repetition Penalty</label>
13071307 <a href="https://github.com/oobabooga/text-generation-webui/pull/5677" target="_blank">
@@ -1339,7 +1339,7 @@
13391339 </div>
13401340 </div>
13411341 </div>
13421342 <div data-newbie-hidden data-tg-type="ooba, mancer, koboldcpp, tabby, llamacpp, aphrodite" id="dynatemp_block_ooba" class="wide100p">
13431343 <h4 class="wide100p textAlignCenter">
13441344 <div class="flex-container alignitemscenter justifyCenter">
13451345 <div class="checkbox_label" for="dynatemp_textgenerationwebui">
@@ -1367,7 +1367,7 @@
13671367 </div>
13681368 </div>
13691369 </div>
13701370 <div data-newbie-hidden data-tg-type="ooba,aphrodite,infermaticai,koboldcpp,llamacpp,mancer,ollama,tabby" id="mirostat_block_ooba" class="wide100p">
13711371 <h4 class="wide100p textAlignCenter">
13721372 <label data-i18n="Mirostat (mode=1 is only for llama.cpp)">Mirostat</label>
13731373 <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 @@
13961396 </div>
13971397 </div>
13981398 </div>
13991399 <div data-newbie-hidden data-tg-type="ooba, vllm" id="beamSearchBlock" name="beamSearchBlock" class="wide100p">
14001400 <h4 class="wide100p textAlignCenter">
14011401 <label>
14021402 <span data-i18n="Beam search">Beam Search</span>
@@ -1422,7 +1422,7 @@
14221422 </div>
14231423 </div>
14241424 </div>
14251425 <div data-tg-type="ooba" data-newbie-hidden id="contrastiveSearchBlock" name="contrastiveSearchBlock" class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
14261426 <h4 class="textAlignCenter" data-i18n="Contrastive search">Contrastive Search
14271427 <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>
14281428 </h4>
@@ -1435,7 +1435,7 @@
14351435 <input class="neo-range-input" type="number" min="0" max="5" step="0.05" data-for="penalty_alpha_textgenerationwebui" id="penalty_alpha_counter_textgenerationwebui">
14361436 </div>
14371437 </div>
14381438 <div data-newbie-hidden name="checkboxes" class="flex-container flexBasis48p justifyCenter flexGrow flexShrink ">
14391439 <div class="flex-container flexFlowColumn marginTop5">
14401440 <label data-tg-type="ooba" class="checkbox_label flexGrow flexShrink" for="do_sample_textgenerationwebui">
14411441 <input type="checkbox" id="do_sample_textgenerationwebui" />
@@ -1486,12 +1486,12 @@
14861486 </label>
14871487 </div>
14881488 </div>
14891489 <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">
14901490 <small data-i18n="Seed" class="textAlignCenter">Seed</small>
14911491 <input type="number" id="seed_textgenerationwebui" class="text_pole textAlignCenter" min="-1" value="-1" />
14921492 </div>
14931493 <div id="banned_tokens_block_ooba" data-newbie-hidden class="wide100p">
14941494 <hr data-newbie-hidden class="width100p">
14951495 <h4 class="range-block-title justifyCenter">
14961496 <span data-i18n="Banned Tokens">Banned Tokens/Strings</span>
14971497 <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 @@
15151515 <div class="logit_bias_list"></div>
15161516 </div>
15171517 </div>
15181518 <div id="cfg_block_ooba" data-newbie-hidden data-tg-type="ooba, tabby" class="wide100p">
15191519 <hr class="width100p">
15201520 <h4 data-i18n="CFG" class="textAlignCenter">CFG
15211521 <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 @@
15371537 </div>
15381538 </div>
15391539 </div>
15401540 <div data-newbie-hidden id="json_schema_block" data-tg-type="tabby, llamacpp" class="wide100p">
15411541 <hr class="wide100p">
15421542 <h4 class="wide100p textAlignCenter"><span data-i18n="JSON Schema">JSON Schema</span>
15431543 <a href="https://json-schema.org/learn/getting-started-step-by-step" target="_blank">
@@ -1548,7 +1548,7 @@
15481548 </h4>
15491549 <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>
15501550 </div>
15511551 <div data-newbie-hidden id="grammar_block_ooba" class="wide100p">
15521552 <hr class="wide100p">
15531553 <h4 class="wide100p textAlignCenter">
15541554 <label>
@@ -1563,7 +1563,7 @@
15631563 </h4>
15641564 <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>
15651565 </div>
15661566 <div id="sampler_order_block_kcpp" data-newbie-hidden data-tg-type="koboldcpp" class="range-block flexFlowColumn wide100p">
15671567 <hr class="wide100p">
15681568 <div class="range-block-title">
15691569 <span data-i18n="Samplers Order">Samplers Order</span>
@@ -1606,7 +1606,7 @@
16061606 <span data-i18n="Load default order">Load default order</span>
16071607 </div>
16081608 </div>
16091609 <div id="sampler_order_block_lcpp" data-newbie-hidden data-tg-type="llamacpp" class="range-block flexFlowColumn wide100p">
16101610 <hr class="wide100p">
16111611 <h4 class="range-block-title justifyCenter">
16121612 <span data-i18n="Sampler Order">Sampler Order</span>
@@ -1627,7 +1627,7 @@
16271627 <span data-i18n="Load default order">Load default order</span>
16281628 </div>
16291629 </div>
16301630 <div id="sampler_priority_block_ooba" data-newbie-hidden data-tg-type="ooba" class="range-block flexFlowColumn wide100p">
16311631 <hr class="wide100p">
16321632 <h4 class="range-block-title justifyCenter">
16331633 <span data-i18n="Sampler Priority">Sampler Priority</span>
@@ -1814,7 +1814,7 @@
18141814 </span>
18151815 </div>
18161816 </div>
18171817 <div data-newbie-hidden class="range-block" data-source="claude">
18181818 <div class="wide100p">
18191819 <div class="flex-container alignItemsCenter">
18201820 <span id="claude_assistant_prefill_text" data-i18n="Assistant Prefill">Assistant Prefill</span>
@@ -1849,7 +1849,7 @@
18491849 </div>
18501850 </div>
18511851 </div>
18521852 <div data-newbie-hidden class="range-block m-t-1" data-source="openai,openrouter,scale">
18531853 <div id="logit_bias_openai" class="range-block-title openai_restorable" data-i18n="Logit Bias">
18541854 Logit Bias
18551855 </div>
@@ -1887,7 +1887,7 @@
18871887 </div>
18881888 </div>
18891889 </div>
18901890 <div data-newbie-hidden class="range-block m-b-1">
18911891 <div id="completion_prompt_manager"></div>
18921892 </div>
18931893 </div><!-- end of OpenAI settings-->
@@ -2438,7 +2438,7 @@
24382438 <option value="windowai">Window AI</option>
24392439 </optgroup>
24402440 </select>
24412441 <div data-newbie-hidden class="inline-drawer wide100p" data-source="openai,claude,mistralai,makersuite">
24422442 <div class="inline-drawer-toggle inline-drawer-header">
24432443 <b data-i18n="Reverse Proxy">Reverse Proxy</b>
24442444 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -3073,17 +3073,17 @@
30733073 <div class="flex-container justifyCenter">
30743074 <input type="file" hidden data-preset-manager-file="context" accept=".json, .settings">
30753075 <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>
30763076 <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>
30773077 <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>
30783078 <i data-preset-manager-import="context" class="menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
30793079 <i data-preset-manager-export="context" class="menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
30803080 <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>
30813081 <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>
30823082 </div>
30833083 <div class="flex-container">
30843084 <select id="context_presets" data-preset-manager-for="context" class="flex1 text_pole"></select>
30853085 </div>
30863086 <div data-newbie-hidden>
30873087 <label for="context_story_string">
30883088 <small data-i18n="Story String">Story String</small>
30893089 </label>
@@ -3134,7 +3134,7 @@
31343134 Collapse Consecutive Newlines
31353135 </small>
31363136 </label>
31373137 <label data-newbie-hidden class="checkbox_label" for="trim_spaces">
31383138 <input id="trim_spaces" type="checkbox" />
31393139 <small data-i18n="Trim spaces">Trim spaces</small>
31403140 </label>
@@ -3145,7 +3145,7 @@
31453145 </small>
31463146 </label>
31473147 <!-- Add margin since this is a child of above -->
31483148 <label data-newbie-hidden class="checkbox_label indent20p" for="include_newline_checkbox">
31493149 <input id="include_newline_checkbox" type="checkbox" />
31503150 <small data-i18n="Include Newline">Include Newline</small>
31513151 </label>
@@ -3214,33 +3214,33 @@
32143214 <div class="flex-container margin0 justifyCenter">
32153215 <input type="file" hidden data-preset-manager-file="instruct" accept=".json, .settings">
32163216 <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>
32173217 <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>
32183218 <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>
32193219 <i data-preset-manager-import="instruct" class=" menu_button fa-solid fa-file-import" title="Import preset" data-i18n="[title]Import preset"></i>
32203220 <i data-preset-manager-export="instruct" class=" menu_button fa-solid fa-file-export" title="Export preset" data-i18n="[title]Export preset"></i>
32213221 <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>
32223222 <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>
32233223 </div>
32243224
32253225 <div class="flex-container">
32263226 <select id="instruct_presets" data-preset-manager-for="instruct" class="flex1 text_pole"></select>
32273227 </div>
32283228 <label data-newbie-hidden>
32293229 <small data-i18n="Activation Regex">
32303230 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>
32313231 </small>
32323232 </label>
32333233 <div data-newbie-hidden>
32343234 <input type="text" id="instruct_activation_regex" class="text_pole textarea_compact" placeholder="e.g. /llama(-)?[3|3.1]/i"></input>
32353235 </div>
32363236 <div data-newbie-hidden>
32373237 <label>
32383238 <small data-i18n="System Prompt">System Prompt</small>
32393239 </label>
32403240 <div contenteditable="true" id="instruct_system_prompt" class="text_pole textarea_compact"></div>
32413241 </div>
32423242
32433243 <div data-newbie-hidden>
32443244 <label for="instruct_wrap" class="checkbox_label">
32453245 <input id="instruct_wrap" type="checkbox" />
32463246 <small data-i18n="Wrap Sequences with Newline">Wrap Sequences with Newline</small>
@@ -3264,7 +3264,7 @@
32643264 </div>
32653265 </div>
32663266 <div name="tokenizerSettingsBlock">
32673267 <div data-newbie-hidden name="tokenizerSelectorBlock">
32683268 <h4 class="standoutHeader"><span data-i18n="Tokenizer">Tokenizer</span>
32693269 <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#tokenizer" class="notes-link" target="_blank">
32703270 <span class="fa-solid fa-circle-question note-link-span"></span>
@@ -3287,7 +3287,7 @@
32873287 <option value="6">API (WebUI / koboldcpp)</option>
32883288 </select>
32893289 </div>
32903290 <div class="range-block flex-container flexnowrap" data-newbie-hidden name="tokenPaddingBlock">
32913291 <div class="range-block-title justifyLeft">
32923292 <small data-i18n="Token Padding" class="flex-container">Token Padding
32933293 <a href="https://docs.sillytavern.app/usage/core-concepts/advancedformatting/#token-padding" class="notes-link" target="_blank">
@@ -3311,7 +3311,7 @@
33113311 </div>
33123312 </div>
33133313
33143314 <div data-newbie-hidden name="startReplyWithBlock">
33153315 <div>
33163316 <small>
33173317 <span data-i18n="Start Reply With">
@@ -3332,7 +3332,7 @@
33323332 </div>
33333333 </div>
33343334 <div id="InstructSequencesColumn" class="flex-container flexNoGap flexFlowColumn flex1">
33353335 <div data-newbie-hidden class="wide100p flexFlowColumn">
33363336 <h4 class="standoutHeader title_restorable">
33373337 <b>
33383338 <span data-i18n="Instruct Sequences">
@@ -3653,10 +3653,6 @@
36533653 <div class="flex-container">
36543654 <div class="flex-container flexnowrap alignItemsBaseline">
36553655 <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>
36603656 </div>
36613657 </div>
36623658 <div id="UI-language-block" class="flex-container alignItemsBaseline">
@@ -3715,7 +3711,7 @@
37153711 </div>
37163712 </div>
37173713 </div>
37183714 <div name="themeElements" data-newbie-hidden class="flex-container flexFlowColumn flexNoGap">
37193715 <!-- <h4><span data-i18n="UI Colors">Theme Settings</span></h4> -->
37203716 <div name="AvatarAndChatDisplay" class="flex-container flexFlowColumn">
37213717 <div class="flex-container">
@@ -3735,7 +3731,7 @@
37353731 </select>
37363732 </div>
37373733 </div>
37383734 <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn">
37393735 <div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Specify colors for your theme." data-i18n="[title]Specify colors for your theme.">
37403736 <b><span data-i18n="Theme Colors">Theme Colors</span></b>
37413737 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -3786,7 +3782,7 @@
37863782 </div>
37873783 </div>
37883784 <hr>
37893785 <div data-newbie-hidden name="FontBlurChatWidthBlock" class="flex-container">
37903786
37913787 <div class="alignitemscenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0">
37923788 <small>
@@ -3832,11 +3828,11 @@
38323828 <input id="reduced_motion" type="checkbox" />
38333829 <small data-i18n="Reduced Motion">Reduced Motion</small>
38343830 </label>
38353831 <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">
38363832 <input id="fast_ui_mode" type="checkbox" />
38373833 <small data-i18n="No Blur Effect">No Blur Effect</small>
38383834 </label>
38393835 <label data-newbie-hidden for="noShadowsmode" class="checkbox_label" title="Remove text shadow effect." data-i18n="[title]Remove text shadow effect">
38403836 <input id="noShadowsmode" type="checkbox" />
38413837 <small data-i18n="No Text Shadows">No Text Shadows</small>
38423838 </label>
@@ -3844,39 +3840,39 @@
38443840 <input id="waifuMode" type="checkbox" />
38453841 <small data-i18n="Waifu Mode">Visual Novel Mode</small>
38463842 </label>
38473843 <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 '...'">
38483844 <input id="expandMessageActions" type="checkbox" />
38493845 <small data-i18n="Auto-Expand Message Actions">Expand Message Actions</small>
38503846 </label>
38513847 <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">
38523848 <input id="enableZenSliders" type="checkbox" />
38533849 <small data-i18n="Zen Sliders">Zen Sliders</small>
38543850 </label>
38553851 <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">
38563852 <input id="enableLabMode" type="checkbox" />
38573853 <small data-i18n="Mad Lab Mode">Mad Lab Mode</small>
38583854 </label>
38593855 <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">
38603856 <input id="messageTimerEnabled" type="checkbox" />
38613857 <small data-i18n="Message Timer">Message Timer</small>
38623858 </label>
38633859 <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">
38643860 <input id="messageTimestampsEnabled" type="checkbox" />
38653861 <small data-i18n="Chat Timestamps">Chat Timestamps</small>
38663862 </label>
38673863 <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">
38683864 <input id="messageModelIconEnabled" type="checkbox" />
38693865 <small data-i18n="Model Icon">Model Icons</small>
38703866 </label>
38713867 <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">
38723868 <input id="mesIDDisplayEnabled" type="checkbox" />
38733869 <small data-i18n="Message IDs">Message IDs</small>
38743870 </label>
38753871 <label data-newbie-hidden for="hideChatAvatarsEnabled" class="checkbox_label" title="Hide avatars in chat messages." data-i18n="[title]Hide avatars in chat messages.">
38763872 <input id="hideChatAvatarsEnabled" type="checkbox" />
38773873 <small data-i18n="Hide Chat Avatars">Hide Chat Avatars</small>
38783874 </label>
38793875 <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">
38803876 <input id="messageTokensEnabled" type="checkbox" />
38813877 <small data-i18n="Show Message Token Count">Message Token Count</small>
38823878 </label>
@@ -3884,7 +3880,7 @@
38843880 <input id="compact_input_area" type="checkbox" />
38853881 <small data-i18n="Compact Input Area (Mobile)">Compact Input Area</small><i class="fa-solid fa-mobile-screen-button"></i>
38863882 </label>
38873883 <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">
38883884 <input id="hotswapEnabled" type="checkbox" />
38893885 <small data-i18n="Characters Hotswap">Characters Hotswap</small>
38903886 </label>
@@ -3905,7 +3901,7 @@
39053901 </div>
39063902 </div>
39073903 <div name="UserSettingsSecondColumn" id="UI-Customization" class="flex-container flexFlowColumn wide100p flexNoGap">
39083904 <div data-newbie-hidden name="CharacterHandlingToggles">
39093905 <h4 data-i18n="Character Handling">
39103906 Character Handling
39113907 </h4>
@@ -3916,7 +3912,7 @@
39163912 <option data-i18n="Created by" value="creator">Created by</option>
39173913 </select>
39183914 </div>
39193915 <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.">
39203916 <label for="tag_import_setting"><small data-i18n="Import Card Tags">Import Card Tags</small></label>
39213917 <select id="tag_import_setting" class="widthNatural flex1 margin0">
39223918 <option data-i18n="Ask" value="1">Ask</option>
@@ -3925,27 +3921,27 @@
39253921 <option data-i18n="Existing" value="4">Existing</option>
39263922 </select>
39273923 </div>
39283924 <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">
39293925 <input id="fuzzy_search_checkbox" type="checkbox" />
39303926 <small data-i18n="Advanced Character Search">Advanced Character Search</small>
39313927 </label>
39323928 <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">
39333929 <input id="prefer_character_prompt" type="checkbox" />
39343930 <small data-i18n="Prefer Character Card Prompt">Prefer Char. Prompt</small>
39353931 </label>
39363932 <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">
39373933 <input id="prefer_character_jailbreak" type="checkbox" />
39383934 <small data-i18n="Prefer Character Card Instructions">Prefer Char. Instructions</small>
39393935 </label>
39403936 <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">
39413937 <input id="never_resize_avatars" type="checkbox" />
39423938 <small data-i18n="Never resize avatars">Never resize avatars</small>
39433939 </label>
39443940 <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">
39453941 <input id="show_card_avatar_urls" type="checkbox" />
39463942 <small data-i18n="Show avatar filenames">Show avatar filenames</small>
39473943 </label>
39483944 <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">
39493945 <input id="spoiler_free_mode" type="checkbox" />
39503946 <small data-i18n="Spoiler Free Mode">Spoiler Free Mode</small>
39513947 </label>
@@ -3954,7 +3950,7 @@
39543950
39553951 <div name="MiscellaneousToggles">
39563952 <h4><span data-i18n="Miscellaneous">Miscellaneous</span></h4>
39573953 <div data-newbie-hidden class="flex-container">
39583954 <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.">
39593955 <small data-i18n="Reload Chat">Reload Chat</small>
39603956 </div>
@@ -3994,15 +3990,15 @@
39943990 <input id="play_sound_unfocused" type="checkbox" />
39953991 <small data-i18n="Background Sound Only">Background Sound Only</small>
39963992 </label>
39973993 <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">
39983994 <input id="relaxed_api_urls" type="checkbox" />
39993995 <small data-i18n="Relaxed API URLS">Relaxed API URLs</small>
40003996 </label>
40013997 <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">
40023998 <input id="world_import_dialog" type="checkbox" />
40033999 <small data-i18n="Lorebook Import Dialog">Lorebook Import Dialog</small>
40044000 </label>
40054001 <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.">
40064002 <input id="enable_auto_select_input" type="checkbox" />
40074003 <small data-i18n="Auto-select Input Text">Auto-select Input Text</small>
40084004 </label>
@@ -4011,13 +4007,13 @@
40114007 <small data-i18n="Restore User Input">Restore User Input</small>
40124008 </label>
40134009 <div class="flex-container alignItemsCenter">
40144010 <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">
40154011 <input id="movingUImode" type="checkbox" />
40164012 <small data-i18n="Movable UI Panels">MovingUI&nbsp;<i class="fa-solid fa-desktop"></i></small>
40174013 </label>
40184014 <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>
40194015 </div>
40204016 <div data-newbie-hidden id="MovingUI-presets-block" class="flex-container alignitemscenter">
40214017 <div class="flex-container alignItemsFlexEnd">
40224018 <label for="movingUIPresets" title="MovingUI preset. Predefined/saved draggable positions." data-i18n="[title]MovingUI preset. Predefined/saved draggable positions">
40234019 <small data-i18n="MUI Preset">MovingUI Preset:</small>
@@ -4029,7 +4025,7 @@
40294025 <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>
40304026 </div>
40314027 </div>
40324028 <div data-newbie-hidden id="CustomCSS-block" class="flex-container flexFlowColumn">
40334029 <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">
40344030 <span data-i18n="Custom CSS">Custom CSS</span>
40354031 <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 @@
40664062 <input class="neo-range-input" type="number" min="5" max="100" step="5" data-for="streaming_fps" id="streaming_fps_counter">
40674063 </div>
40684064 </div>
40694065 <div data-newbie-hidden id="examples-behavior-block">
40704066 <label data-i18n="Example Messages Behavior">
40714067 <small>Example Messages Behavior:</small>
40724068 </label>
@@ -4076,7 +4072,7 @@
40764072 <option value="strip" data-i18n="Never include examples">Never include examples</option>
40774073 </select>
40784074 </div>
40794075 <div data-newbie-hidden class="flex-container alignitemscenter">
40804076 <small data-i18n="Send on Enter">
40814077 Enter to Send:
40824078 </small>
@@ -4086,7 +4082,7 @@
40864082 <option value="1" data-i18n="Enabled">Enabled</option>
40874083 </select>
40884084 </div>
40894085 <label data-newbie-hidden class="checkbox_label" for="continue_on_send">
40904086 <input id="continue_on_send" type="checkbox" />
40914087 <small data-i18n="Press Send to continue">
40924088 "Send" to Continue
@@ -4105,11 +4101,11 @@
41054101 </small>
41064102 </label>
41074103 <div class="checkbox-container flex-container">
41084104 <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">
41094105 <input id="swipes-checkbox" type="checkbox" />
41104106 <small data-i18n="Swipes">Swipes</small><i class="fa-solid fa-desktop"></i><i class="fa-solid fa-mobile-screen-button"></i>
41114107 </label>
41124108 <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">
41134109 <input id="gestures-checkbox" type="checkbox" />
41144110 <small data-i18n="Gestures">Gestures</small>
41154111 <i class="fa-solid fa-mobile-screen-button"></i>
@@ -4119,15 +4115,15 @@
41194115 <input id="auto-load-chat-checkbox" type="checkbox" />
41204116 <small data-i18n="Auto-load Last Chat">Auto-load Last Chat</small>
41214117 </label>
41224118 <label data-newbie-hidden for="auto_scroll_chat_to_bottom" class="checkbox_label">
41234119 <input id="auto_scroll_chat_to_bottom" type="checkbox" />
41244120 <small data-i18n="Auto-scroll Chat">Auto-scroll Chat</small>
41254121 </label>
41264122 <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">
41274123 <input id="auto_save_msg_edits" type="checkbox" />
41284124 <small data-i18n="Auto-save Message Edits">Auto-save Message Edits</small>
41294125 </label>
41304126 <label data-newbie-hidden class="checkbox_label" for="confirm_message_delete">
41314127 <input id="confirm_message_delete" type="checkbox" />
41324128 <small data-i18n="Confirm message deletion">Confirm message deletion</small>
41334129 </label>
@@ -4135,7 +4131,7 @@
41354131 <input id="auto_fix_generated_markdown" type="checkbox" />
41364132 <small data-i18n="Auto-fix Markdown">Auto-fix Markdown</small>
41374133 </label>
41384134 <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">
41394135 <input id="render_formulas" type="checkbox" />
41404136 <small data-i18n="Render Formulas">Render Formulas</small>
41414137 <a href="https://docs.sillytavern.app/usage/core-concepts/uicustomization/#formulas-rendering" class="notes-link" target="_blank">
@@ -4146,11 +4142,11 @@
41464142 <input id="forbid_external_media" type="checkbox" />
41474143 <small data-i18n="Forbid External Media">Forbid External Media</small>
41484144 </label>
41494145 <label data-newbie-hidden class="checkbox_label" for="allow_name2_display">
41504146 <input id="allow_name2_display" type="checkbox" />
41514147 <small data-i18n="Allow {{char}}: in bot messages">Show {{char}}: in responses</small>
41524148 </label>
41534149 <label data-newbie-hidden class="checkbox_label" for="allow_name1_display">
41544150 <input id="allow_name1_display" type="checkbox" />
41554151 <small data-i18n="Allow {{user}}: in bot messages">Show {{user}}: in responses</small>
41564152 </label>
@@ -4158,23 +4154,23 @@
41584154 <input id="encode_tags" type="checkbox" />
41594155 <small data-i18n="Show tags in responses">Show &lt;tags&gt; in responses</small>
41604156 </label>
41614157 <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">
41624158 <input id="disable_group_trimming" type="checkbox" />
41634159 <small data-i18n="Relax message trim in Groups">Relax message trim in Groups</small>
41644160 </label>
41654161 <label data-newbie-hidden class="checkbox_label" for="console_log_prompts">
41664162 <input id="console_log_prompts" type="checkbox" />
41674163 <small data-i18n="Log prompts to console">Log prompts to console</small>
41684164 </label>
41694165 <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">
41704166 <input id="request_token_probabilities" type="checkbox" />
41714167 <small data-i18n="Request token probabilities">Request token probabilities</small>
41724168 </label>
41734169 <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.">
41744170 <input id="show_group_chat_queue" type="checkbox" />
41754171 <small data-i18n="Show group chat queue">Show group chat queue</small>
41764172 </label>
41774173 <div data-newbie-hidden class="inline-drawer wide100p flexFlowColumn">
41784174 <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">
41794175 <b><span data-i18n="Auto-swipe">Auto-swipe</span></b>
41804176 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -4194,7 +4190,7 @@
41944190 </div>
41954191 </div>
41964192 </div>
41974193 <div data-newbie-hidden nane="AutoContiueBlock" class="inline-drawer wide100p flexFlowColumn">
41984194 <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.">
41994195 <b><span data-i18n="Auto-swipe">Auto-Continue</span></b>
42004196 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
@@ -4231,7 +4227,7 @@
42314227 <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
42324228 </div>
42334229 <div class="inline-drawer-content">
42344230 <label data-newbie-hidden class="checkbox_label" for="stscript_autocomplete_autoHide">
42354231 <input id="stscript_autocomplete_autoHide" type="checkbox" />
42364232 <small data-i18n="Automatically hide details">
42374233 Automatically hide details
@@ -4503,7 +4499,7 @@
45034499 <div class="extension_token_counter">
45044500 <span data-i18n="Tokens persona description">Tokens</span>: <span id="persona_description_token_count">0</span>
45054501 </div>
45064502 <div data-newbie-hidden>
45074503 <label for="persona_description_position" data-i18n="Position:">Position:</label>
45084504 <select id="persona_description_position">
45094505 <option value="9" data-i18n="None (disabled)">None (disabled)</option>
@@ -5782,6 +5778,11 @@
57825778 <div title="Caption" class="right_menu_button fa-lg fa-solid fa-envelope-open-text mes_img_caption" data-i18n="[title]Caption"></div>
57835779 <div title="Delete" class="right_menu_button fa-lg fa-solid fa-trash-can mes_img_delete" data-i18n="[title]Delete"></div>
57845780 </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>
57855786 <img class="mes_img" src="" />
57865787 </div>
57875788 <div class="mes_bias"></div>
@@ -5815,11 +5816,6 @@
58155816 <div id="onboarding_template" class="template_element">
58165817 <div class="onboarding">
58175818 <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>
58235819 <div id="onboarding-UI-language-block" class="flex-container alignItemsBaseline">
58245820 <span data-i18n="UI Language">Language:</span>
58255821 <select id="onboarding_ui_language_select" class="flex1 margin0">
@@ -5829,21 +5825,11 @@
58295825 <b data-i18n="SillyTavern is aimed at advanced users.">
58305826 SillyTavern is aimed at advanced users.
58315827 </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>
58475833 <div class="expander"></div>
58485834 <div class="textAlignCenter">
58495835 <h3 data-i18n="Looking for AI characters?">
@@ -6401,11 +6387,11 @@
64016387 <i class="fa-lg fa-solid fa-note-sticky"></i>
64026388 <span data-i18n="Author's Note">Author's Note</span>
64036389 </a>
64046390 <a data-newbie-hidden id="option_toggle_CFG">
64056391 <i class="fa-lg fa-solid fa-scale-balanced"></i>
64066392 <span data-i18n="CFG Scale">CFG Scale</span>
64076393 </a>
64086394 <a data-newbie-hidden id="option_toggle_logprobs">
64096395 <i class="fa-lg fa-solid fa-pie-chart"></i>
64106396 <span data-i18n="Token Probabilities">Token Probabilities</span>
64116397 </a>
public/script.js+3 -2
@@ -1,4 +1,4 @@
11import { humanizedDateTime, favsToHotswap, getMessageTimeStamp, dragElement, isMobile, initRossMods, shouldSendOnEnter, addSafariPatch } from './scripts/RossAscends-mods.js';
22import { userStatsHandler, statMesProcess, initStats } from './scripts/stats.js';
33import {
44 generateKoboldWithStreaming,
@@ -916,6 +916,7 @@ async function firstLoadInit() {
916916 throw new Error('Initialization failed');
917917 }
918918
919+ addSafariPatch();
919920 await getClientVersion();
920921 await readSecretState();
921922 initLocales();
@@ -6322,7 +6323,7 @@ export function setUserName(value) {
63226323
63236324async function doOnboarding(avatarId) {
63246325 const template = $('#onboarding_template .onboarding');
63256326 let userName = await callGenericPopup(template, POPUP_TYPE.INPUT, currentUser?.name || name1, { rows: 2, widewider: true, largecancelButton: truefalse });
63266327
63276328 if (userName) {
63286329 userName = String(userName).replace('\n', ' ');
public/scripts/RossAscends-mods.js+12 -10
@@ -711,6 +711,18 @@ export const autoFitSendTextAreaDebounced = debounce(autoFitSendTextArea, deboun
711711
712712// ---------------------------------------------------
713713
714+export 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+
714726export function initRossMods() {
715727 // initial status check
716728 setTimeout(() => {
@@ -725,16 +737,6 @@ export function initRossMods() {
725737 RA_autoconnect();
726738 }
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-
738740 $('#main_api').change(function () {
739741 var PrevAPI = main_api;
740742 setTimeout(() => RA_autoconnect(PrevAPI), 100);
public/scripts/popup.js+1 -0
@@ -281,6 +281,7 @@ export class Popup {
281281 case POPUP_TYPE.INPUT: {
282282 this.mainInput.style.display = 'block';
283283 if (!okButton) this.okButton.textContent = template.getAttribute('popup-button-save');
284+ if (cancelButton === false) this.cancelButton.style.display = 'none';
284285 break;
285286 }
286287 case POPUP_TYPE.DISPLAY: {
public/scripts/power-user.js+0 -21
@@ -75,11 +75,6 @@ const defaultStoryString = '{{#if system}}{{system}}\n{{/if}}{{#if description}}
7575const defaultExampleSeparator = '***';
7676const defaultChatStart = '***';
7777
78-export const ui_mode = {
79- SIMPLE: 0,
80- POWER: 1,
81-};
82-
8378const avatar_styles = {
8479 ROUND: 0,
8580 RECTANGULAR: 1,
@@ -132,7 +127,6 @@ let power_user = {
132127 smooth_streaming: false,
133128 smooth_streaming_speed: 50,
134129
135- ui_mode: ui_mode.POWER,
136130 fast_ui_mode: true,
137131 avatar_style: avatar_styles.ROUND,
138132 chat_display: chat_styles.DEFAULT,
@@ -331,12 +325,6 @@ const debug_functions = [];
331325
332326const setHotswapsDebounced = debounce(favsToHotswap);
333327
334-export function switchSimpleMode() {
335- $('[data-newbie-hidden]').each(function () {
336- $(this).toggleClass('displayNone', power_user.ui_mode === ui_mode.SIMPLE);
337- });
338-}
339-
340328function playMessageSound() {
341329 if (!power_user.play_message_sound) {
342330 return;
@@ -1586,7 +1574,6 @@ async function loadPowerUserSettings(settings, data) {
15861574 $('#bot-mes-blur-tint-color-picker').attr('color', power_user.bot_mes_blur_tint_color);
15871575 $('#shadow-color-picker').attr('color', power_user.shadow_color);
15881576 $('#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);
15901577 $('#reduced_motion').prop('checked', power_user.reduced_motion);
15911578 $('#auto-connect-checkbox').prop('checked', power_user.auto_connect);
15921579 $('#auto-load-chat-checkbox').prop('checked', power_user.auto_load_chat);
@@ -1620,7 +1607,6 @@ async function loadPowerUserSettings(settings, data) {
16201607 switchSpoilerMode();
16211608 loadMovingUIState();
16221609 loadCharListState();
1623- switchSimpleMode();
16241610}
16251611
16261612async function loadCharListState() {
@@ -3683,13 +3669,6 @@ $(document).ready(() => {
36833669 showDebugMenu();
36843670 });
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-
36933672 $('#bogus_folders').on('input', function () {
36943673 power_user.bogus_folders = !!$(this).prop('checked');
36953674 printCharactersDebounced();