Update layout of Reasoning settings block

This commit is contained in:
Cohee
2025-02-08 21:18:46 +02:00
parent d5959a4681
commit 98ea463e0e
2 changed files with 46 additions and 35 deletions

View File

@@ -3750,7 +3750,7 @@
<label class="checkbox_label" for="custom_stopping_strings_macro"> <label class="checkbox_label" for="custom_stopping_strings_macro">
<input id="custom_stopping_strings_macro" type="checkbox" checked> <input id="custom_stopping_strings_macro" type="checkbox" checked>
<small data-i18n="Replace Macro in Custom Stopping Strings"> <small data-i18n="Replace Macro in Custom Stopping Strings">
Replace Macro in Custom Stopping Strings Replace Macro in Stop Strings
</small> </small>
</label> </label>
</div> </div>
@@ -3797,24 +3797,36 @@
<span data-i18n="Reasoning">Reasoning</span> <span data-i18n="Reasoning">Reasoning</span>
</h4> </h4>
<div> <div>
<label class="checkbox_label" for="reasoning_auto_parse" title="Automatically parse reasoning blocks from main content between the reasoning prefix/suffix. Both fields must be defined and non-empty." data-i18n="[title]reasoning_auto_parse"> <div class="flex-container alignItemsBaseline">
<label class="checkbox_label flex1" for="reasoning_auto_parse" title="Automatically parse reasoning blocks from main content between the reasoning prefix/suffix. Both fields must be defined and non-empty." data-i18n="[title]reasoning_auto_parse">
<input id="reasoning_auto_parse" type="checkbox" /> <input id="reasoning_auto_parse" type="checkbox" />
<small data-i18n="Auto-Parse Reasoning"> <small data-i18n="Auto-Parse">
Auto-Parse Reasoning Auto-Parse
</small> </small>
</label> </label>
<label class="checkbox_label" for="reasoning_auto_expand" title="Automatically expand reasoning blocks." data-i18n="[title]reasoning_auto_expand"> <label class="checkbox_label flex1" for="reasoning_auto_expand" title="Automatically expand reasoning blocks." data-i18n="[title]reasoning_auto_expand">
<input id="reasoning_auto_expand" type="checkbox" /> <input id="reasoning_auto_expand" type="checkbox" />
<small data-i18n="Auto-Expand Reasoning"> <small data-i18n="Auto-Expand">
Auto-Expand Reasoning Auto-Expand
</small> </small>
</label> </label>
<label class="checkbox_label" for="reasoning_add_to_prompts" title="Add existing reasoning blocks to prompts. To add a new reasoning block, use the message edit menu." data-i18n="[title]reasoning_add_to_prompts"> </div>
<div class="flex-container alignItemsBaseline">
<label class="checkbox_label flex1" for="reasoning_add_to_prompts" title="Add existing reasoning blocks to prompts. To add a new reasoning block, use the message edit menu." data-i18n="[title]reasoning_add_to_prompts">
<input id="reasoning_add_to_prompts" type="checkbox" /> <input id="reasoning_add_to_prompts" type="checkbox" />
<small data-i18n="Add Reasoning to Prompts"> <small data-i18n="Add to Prompts">
Add Reasoning to Prompts Add to Prompts
</small> </small>
</label> </label>
<div class="flex1 flex-container alignItemsBaseline" title="Maximum number of reasoning blocks to be added per prompt, counting from the last message." data-i18n="[title]reasoning_max_additions">
<input id="reasoning_max_additions" class="text_pole textarea_compact widthUnset" type="number" min="0" max="999"></textarea>
<small data-i18n="Max">Max</small>
</div>
</div>
<details>
<summary data-i18n="Reasoning Formatting">
Reasoning Formatting
</summary>
<div class="flex-container"> <div class="flex-container">
<div class="flex1" title="Inserted before the reasoning content." data-i18n="[title]reasoning_prefix"> <div class="flex1" title="Inserted before the reasoning content." data-i18n="[title]reasoning_prefix">
<small data-i18n="Prefix">Prefix</small> <small data-i18n="Prefix">Prefix</small>
@@ -3830,11 +3842,8 @@
<small data-i18n="Separator">Separator</small> <small data-i18n="Separator">Separator</small>
<textarea id="reasoning_separator" class="text_pole textarea_compact autoSetHeight"></textarea> <textarea id="reasoning_separator" class="text_pole textarea_compact autoSetHeight"></textarea>
</div> </div>
<div class="flex1" title="Maximum number of reasoning blocks to be added per prompt, counting from the last message." data-i18n="[title]reasoning_max_additions">
<small data-i18n="Max Additions">Max Additions</small>
<input id="reasoning_max_additions" class="text_pole textarea_compact" type="number" min="0" max="999"></textarea>
</div>
</div> </div>
</details>
</div> </div>
</div> </div>
<div> <div>

View File

@@ -5746,11 +5746,13 @@ body:not(.movingUI) .drawer-content.maximized {
overflow-wrap: anywhere; overflow-wrap: anywhere;
} }
#SystemPromptColumn summary,
#InstructSequencesColumn summary { #InstructSequencesColumn summary {
font-size: 0.95em; font-size: 0.95em;
cursor: pointer; cursor: pointer;
} }
#SystemPromptColumn details,
#InstructSequencesColumn details:not(:last-of-type) { #InstructSequencesColumn details:not(:last-of-type) {
margin-bottom: 5px; margin-bottom: 5px;
} }