Sort post-processing types into optgroups

3e03b9f0a2ffc62821b53cba375768eb482040e0

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

1 files changed, +11 -7Ignore whitespace
public/index.html+11 -7
@@ -3704,13 +3704,17 @@
37043704 </h4>
37053705 <select id="custom_prompt_post_processing" class="text_pole" title="Applies additional processing to the prompt before sending it to the API." data-i18n="[title]Applies additional processing to the prompt before sending it to the API.">
37063706 <option data-i18n="prompt_post_processing_none" value="">None</option>
3707- <option data-i18n="prompt_post_processing_merge" value="merge">Merge consecutive roles (no tools)</option>
3707+ <optgroup label="With Tools">
37083708 <option data-i18n="prompt_post_processing_merge_tools" value="merge_tools">Merge consecutive roles (with tools)</option>
37093709 <option data-i18n="prompt_post_processing_semiprompt_post_processing_semi_tools" value="semisemi_tools">Semi-strict (alternating roles; nowith tools)</option>
37103710 <option data-i18n="prompt_post_processing_semi_toolsprompt_post_processing_strict_tools" value="semi_toolsstrict_tools">Semi-strictStrict (user first, alternating roles; with tools)</option>
3711- <option data-i18n="prompt_post_processing_strict" value="strict">Strict (user first, alternating roles; no tools)</option>
3711+ </optgroup>
3712- <option data-i18n="prompt_post_processing_strict_tools" value="strict_tools">Strict (user first, alternating roles; with tools)</option>
3712+ <optgroup label="No Tools">
37133713 <option data-i18n="prompt_post_processing_singleprompt_post_processing_merge" value="singlemerge">SingleMerge userconsecutive messageroles (no tools)</option>
3714+ <option data-i18n="prompt_post_processing_semi" value="semi">Semi-strict (alternating roles; no tools)</option>
3715+ <option data-i18n="prompt_post_processing_strict" value="strict">Strict (user first, alternating roles; no tools)</option>
3716+ <option data-i18n="prompt_post_processing_single" value="single">Single user message (no tools)</option>
3717+ </optgroup>
37143718 </select>
37153719 </div>
37163720 <div class="flex-container flex">