Merge pull request #3448 from SillyTavern/compact-reasoning-settings Update layout of Reasoning settings block
Signed| @@ -3749,8 +3749,8 @@ | ||
| 3749 | 3749 | </div> |
| 3750 | 3750 | <label class="checkbox_label" for="custom_stopping_strings_macro"> |
| 3751 | 3751 | <input id="custom_stopping_strings_macro" type="checkbox" checked> |
| 3752 | 3752 | <small data-i18n="Replace Macro in Custom StoppingStop Strings"> |
| 3753 | 3753 | Replace Macro in Custom StoppingStop Strings |
| 3754 | 3754 | </small> |
| 3755 | 3755 | </label> |
| 3756 | 3756 | </div> |
| @@ -3797,24 +3797,36 @@ | ||
| 3797 | 3797 | <span data-i18n="Reasoning">Reasoning</span> |
| 3798 | 3798 | </h4> |
| 3799 | 3799 | <div> |
| 3800 | - <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"> | |
| 3800 | + <div class="flex-container alignItemsBaseline"> | |
| 3801 | + <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"> | |
| 3801 | 3802 | <input id="reasoning_auto_parse" type="checkbox" /> |
| 3802 | 3803 | <small data-i18n="Auto-Parse Reasoning"> |
| 3803 | 3804 | Auto-Parse Reasoning |
| 3804 | 3805 | </small> |
| 3805 | 3806 | </label> |
| 3806 | 3807 | <label class="checkbox_label flex1" for="reasoning_auto_expand" title="Automatically expand reasoning blocks." data-i18n="[title]reasoning_auto_expand"> |
| 3807 | 3808 | <input id="reasoning_auto_expand" type="checkbox" /> |
| 3808 | 3809 | <small data-i18n="Auto-Expand Reasoning"> |
| 3809 | 3810 | Auto-Expand Reasoning |
| 3810 | 3811 | </small> |
| 3811 | 3812 | </label> |
| 3812 | - <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"> | |
| 3813 | + </div> | |
| 3814 | + <div class="flex-container alignItemsBaseline"> | |
| 3815 | + <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"> | |
| 3813 | 3816 | <input id="reasoning_add_to_prompts" type="checkbox" /> |
| 3814 | 3817 | <small data-i18n="Add Reasoning to Prompts"> |
| 3815 | 3818 | Add Reasoning to Prompts |
| 3816 | 3819 | </small> |
| 3817 | 3820 | </label> |
| 3821 | + <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"> | |
| 3822 | + <input id="reasoning_max_additions" class="text_pole textarea_compact widthUnset" type="number" min="0" max="999"></textarea> | |
| 3823 | + <small data-i18n="Max">Max</small> | |
| 3824 | + </div> | |
| 3825 | + </div> | |
| 3826 | + <details> | |
| 3827 | + <summary data-i18n="Reasoning Formatting"> | |
| 3828 | + Reasoning Formatting | |
| 3829 | + </summary> | |
| 3818 | 3830 | <div class="flex-container"> |
| 3819 | 3831 | <div class="flex1" title="Inserted before the reasoning content." data-i18n="[title]reasoning_prefix"> |
| 3820 | 3832 | <small data-i18n="Prefix">Prefix</small> |
| @@ -3830,11 +3842,8 @@ | ||
| 3830 | 3842 | <small data-i18n="Separator">Separator</small> |
| 3831 | 3843 | <textarea id="reasoning_separator" class="text_pole textarea_compact autoSetHeight"></textarea> |
| 3832 | 3844 | </div> |
| 3833 | - <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"> | |
| 3834 | - <small data-i18n="Max Additions">Max Additions</small> | |
| 3835 | - <input id="reasoning_max_additions" class="text_pole textarea_compact" type="number" min="0" max="999"></textarea> | |
| 3836 | - </div> | |
| 3837 | 3845 | </div> |
| 3846 | + </details> | |
| 3838 | 3847 | </div> |
| 3839 | 3848 | </div> |
| 3840 | 3849 | <div> |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "فصل بفواصل دون مسافة بينها", |
| 483 | 483 | "Custom Stopping Strings": "سلاسل توقف مخصصة", |
| 484 | 484 | "JSON serialized array of strings": "مصفوفة سلسلة JSON متسلسلة", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "استبدال الماكرو في سلاسل التوقف المخصصة", |
| 486 | 486 | "Auto-Continue": "المتابعة التلقائية", |
| 487 | 487 | "Allow for Chat Completion APIs": "السماح بواجهات برمجة التطبيقات لإكمال الدردشة", |
| 488 | 488 | "Target length (tokens)": "الطول المستهدف (رموز)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "getrennt durch Kommas ohne Leerzeichen dazwischen", |
| 483 | 483 | "Custom Stopping Strings": "Benutzerdefinierte Stoppzeichenfolgen", |
| 484 | 484 | "JSON serialized array of strings": "JSON serialisierte Reihe von Zeichenfolgen", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Makro in benutzerdefinierten Stoppzeichenfolgen ersetzen", |
| 486 | 486 | "Auto-Continue": "Automatisch fortsetzen", |
| 487 | 487 | "Allow for Chat Completion APIs": "Erlaube Chat-Vervollständigungs-APIs", |
| 488 | 488 | "Target length (tokens)": "Ziel-Länge (Tokens)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "separe con comas sin espacio entre ellas", |
| 483 | 483 | "Custom Stopping Strings": "Cadenas de Detención Personalizadas", |
| 484 | 484 | "JSON serialized array of strings": "Arreglo de cadenas serializado en JSON", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Reemplazar macro en Cadenas de Detención Personalizadas", |
| 486 | 486 | "Auto-Continue": "Autocontinuar", |
| 487 | 487 | "Allow for Chat Completion APIs": "Permitir para APIs de Completado de Chat", |
| 488 | 488 | "Target length (tokens)": "Longitud objetivo (tokens)", |
| @@ -434,7 +434,7 @@ | ||
| 434 | 434 | "Non-markdown strings": "Chaînes non Markdown", |
| 435 | 435 | "Custom Stopping Strings": "Chaînes d'arrêt personnalisées", |
| 436 | 436 | "JSON serialized array of strings": "Tableau de chaînes sérialisé JSON", |
| 437 | 437 | "Replace Macro in Custom StoppingStop Strings": "Remplacer les macro dans les chaînes d'arrêt personnalisées", |
| 438 | 438 | "Auto-Continue": "Auto-Continue", |
| 439 | 439 | "Allow for Chat Completion APIs": "Autoriser les APIs de complétion de chat", |
| 440 | 440 | "Target length (tokens)": "Longueur cible (tokens)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "aðskilið með kommum án bila milli", |
| 483 | 483 | "Custom Stopping Strings": "Eigin stopp-strengir", |
| 484 | 484 | "JSON serialized array of strings": "JSON raðað fylki af strengjum", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Skiptu út í macro í sérsniðnum stoppa strengjum", |
| 486 | 486 | "Auto-Continue": "Sjálfvirk Forná", |
| 487 | 487 | "Allow for Chat Completion APIs": "Leyfa fyrir spjall Loka APIs", |
| 488 | 488 | "Target length (tokens)": "Markaðarlengd (texti)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "separati con virgole senza spazio tra loro", |
| 483 | 483 | "Custom Stopping Strings": "Stringhe di Stop Personalizzate", |
| 484 | 484 | "JSON serialized array of strings": "Matrice serializzata JSON di stringhe", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Sostituisci Macro in Stringhe di Arresto Personalizzate", |
| 486 | 486 | "Auto-Continue": "Auto-continua", |
| 487 | 487 | "Allow for Chat Completion APIs": "Consenti per API di completamento chat", |
| 488 | 488 | "Target length (tokens)": "Lunghezza obiettivo (token)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "間にスペースのないカンマで区切ります", |
| 483 | 483 | "Custom Stopping Strings": "カスタム停止文字列", |
| 484 | 484 | "JSON serialized array of strings": "文字列のJSONシリアル化配列", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "カスタム停止文字列内のマクロを置換する", |
| 486 | 486 | "Auto-Continue": "自動継続", |
| 487 | 487 | "Allow for Chat Completion APIs": "チャット補完APIを許可", |
| 488 | 488 | "Target length (tokens)": "ターゲット長さ(トークン)", |
| @@ -492,7 +492,7 @@ | ||
| 492 | 492 | "separate with commas w/o space between": "쉼표로 구분 (공백 없이)", |
| 493 | 493 | "Custom Stopping Strings": "사용자 정의 중지 문자열", |
| 494 | 494 | "JSON serialized array of strings": "문자열의 JSON 직렬화된 배열", |
| 495 | 495 | "Replace Macro in Custom StoppingStop Strings": "사용자 정의 중단 문자열에서 매크로 교체", |
| 496 | 496 | "Auto-Continue": "자동 계속하기", |
| 497 | 497 | "Allow for Chat Completion APIs": "채팅 완성 API 허용", |
| 498 | 498 | "Target length (tokens)": "대상 길이 (토큰)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "gescheiden met komma's zonder spatie ertussen", |
| 483 | 483 | "Custom Stopping Strings": "Aangepaste Stopreeksen", |
| 484 | 484 | "JSON serialized array of strings": "JSON geserialiseerde reeks van strings", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Macro vervangen in aangepaste stopreeksen", |
| 486 | 486 | "Auto-Continue": "Automatisch doorgaan", |
| 487 | 487 | "Allow for Chat Completion APIs": "Chatvervolledigings-API's toestaan", |
| 488 | 488 | "Target length (tokens)": "Doellengte (tokens)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "separe com vírgulas sem espaço entre", |
| 483 | 483 | "Custom Stopping Strings": "Cadeias de parada personalizadas", |
| 484 | 484 | "JSON serialized array of strings": "Matriz de strings serializada em JSON", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Substituir Macro em Strings de Parada Personalizadas", |
| 486 | 486 | "Auto-Continue": "Auto-Continuar", |
| 487 | 487 | "Allow for Chat Completion APIs": "Permitir APIs de Completar Chat", |
| 488 | 488 | "Target length (tokens)": "Comprimento alvo (tokens)", |
| @@ -161,7 +161,7 @@ | ||
| 161 | 161 | "View hidden API keys": "Посмотреть скрытые API-ключи", |
| 162 | 162 | "Advanced Formatting": "Расширенное форматирование", |
| 163 | 163 | "Context Template": "Шаблон контекста", |
| 164 | 164 | "Replace Macro in Custom StoppingStop Strings": "Заменять макросы в пользовательских стоп-строках", |
| 165 | 165 | "Story String": "Строка истории", |
| 166 | 166 | "Example Separator": "Разделитель примеров сообщений", |
| 167 | 167 | "Chat Start": "Начало чата", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "розділяйте комами без пропусків між ними", |
| 483 | 483 | "Custom Stopping Strings": "Власні рядки зупинки", |
| 484 | 484 | "JSON serialized array of strings": "JSON-серіалізований масив рядків", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Замінювати макроси у власних рядках зупинки", |
| 486 | 486 | "Auto-Continue": "Автоматичне продовження", |
| 487 | 487 | "Allow for Chat Completion APIs": "Дозволити для Chat Completion API", |
| 488 | 488 | "Target length (tokens)": "Цільова довжина (токени)", |
| @@ -482,7 +482,7 @@ | ||
| 482 | 482 | "separate with commas w/o space between": "phân tách bằng dấu phẩy không có khoảng trắng giữa", |
| 483 | 483 | "Custom Stopping Strings": "Chuỗi dừng tùy chỉnh", |
| 484 | 484 | "JSON serialized array of strings": "Mảng chuỗi được tuần tự hóa JSON", |
| 485 | 485 | "Replace Macro in Custom StoppingStop Strings": "Thay thế Macro trong Chuỗi Dừng Tùy chỉnh", |
| 486 | 486 | "Auto-Continue": "Tự động Tiếp tục", |
| 487 | 487 | "Allow for Chat Completion APIs": "Cho phép các API hoàn thành Trò chuyện", |
| 488 | 488 | "Target length (tokens)": "Độ dài mục tiêu (token)", |
| @@ -559,7 +559,7 @@ | ||
| 559 | 559 | "Prompt Content": "提示词内容", |
| 560 | 560 | "Custom Stopping Strings": "自定义停止字符串", |
| 561 | 561 | "JSON serialized array of strings": "JSON序列化的字符串数组", |
| 562 | 562 | "Replace Macro in Custom StoppingStop Strings": "替换自定义停止字符串中的宏", |
| 563 | 563 | "Token Padding": "词符填充", |
| 564 | 564 | "Miscellaneous": "杂项", |
| 565 | 565 | "Non-markdown strings": "非 Markdown 字符串", |
| @@ -483,7 +483,7 @@ | ||
| 483 | 483 | "separate with commas w/o space between": "用逗號分隔,之間無空格", |
| 484 | 484 | "Custom Stopping Strings": "自訂停止字串", |
| 485 | 485 | "JSON serialized array of strings": "JSON 序列化字串數組", |
| 486 | 486 | "Replace Macro in Custom StoppingStop Strings": "取代自訂停止字串中的巨集", |
| 487 | 487 | "Auto-Continue": "自動繼續", |
| 488 | 488 | "Allow for Chat Completion APIs": "允許聊天補全 API", |
| 489 | 489 | "Target length (tokens)": "目標長度(符元)", |
| @@ -5746,11 +5746,13 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 5746 | 5746 | overflow-wrap: anywhere; |
| 5747 | 5747 | } |
| 5748 | 5748 | |
| 5749 | +#SystemPromptColumn summary, | |
| 5749 | 5750 | #InstructSequencesColumn summary { |
| 5750 | 5751 | font-size: 0.95em; |
| 5751 | 5752 | cursor: pointer; |
| 5752 | 5753 | } |
| 5753 | 5754 | |
| 5755 | +#SystemPromptColumn details, | |
| 5754 | 5756 | #InstructSequencesColumn details:not(:last-of-type) { |
| 5755 | 5757 | margin-bottom: 5px; |
| 5756 | 5758 | } |