Sort post-processing types into optgroups

This commit is contained in:
Cohee
2025-06-16 09:59:50 +00:00
parent 703e67399c
commit 3e03b9f0a2
+11 -7
View File
@@ -3704,13 +3704,17 @@
</h4>
<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.">
<option data-i18n="prompt_post_processing_none" value="">None</option>
<option data-i18n="prompt_post_processing_merge" value="merge">Merge consecutive roles (no tools)</option>
<option data-i18n="prompt_post_processing_merge_tools" value="merge_tools">Merge consecutive roles (with tools)</option>
<option data-i18n="prompt_post_processing_semi" value="semi">Semi-strict (alternating roles; no tools)</option>
<option data-i18n="prompt_post_processing_semi_tools" value="semi_tools">Semi-strict (alternating roles; with tools)</option>
<option data-i18n="prompt_post_processing_strict" value="strict">Strict (user first, alternating roles; no tools)</option>
<option data-i18n="prompt_post_processing_strict_tools" value="strict_tools">Strict (user first, alternating roles; with tools)</option>
<option data-i18n="prompt_post_processing_single" value="single">Single user message (no tools)</option>
<optgroup label="With Tools">
<option data-i18n="prompt_post_processing_merge_tools" value="merge_tools">Merge consecutive roles (with tools)</option>
<option data-i18n="prompt_post_processing_semi_tools" value="semi_tools">Semi-strict (alternating roles; with tools)</option>
<option data-i18n="prompt_post_processing_strict_tools" value="strict_tools">Strict (user first, alternating roles; with tools)</option>
</optgroup>
<optgroup label="No Tools">
<option data-i18n="prompt_post_processing_merge" value="merge">Merge consecutive roles (no tools)</option>
<option data-i18n="prompt_post_processing_semi" value="semi">Semi-strict (alternating roles; no tools)</option>
<option data-i18n="prompt_post_processing_strict" value="strict">Strict (user first, alternating roles; no tools)</option>
<option data-i18n="prompt_post_processing_single" value="single">Single user message (no tools)</option>
</optgroup>
</select>
</div>
<div class="flex-container flex">