feat: custom toggles for modules

This commit is contained in:
bangonicdd
2025-02-06 19:45:55 +09:00
parent 7b57bdf5f1
commit ef6f671792
4 changed files with 26 additions and 6 deletions

View File

@@ -132,6 +132,8 @@
<div class="flex items-center mt-4">
<Check bind:check={currentModule.hideIcon} name={language.hideChatIcon}/>
</div>
<span class="mt-4">{language.customPromptTemplateToggle} <Help key='customPromptTemplateToggle' /></span>
<TextAreaInput bind:value={currentModule.customModuleToggle}/>
{/if}
{#if submenu === 1 && (Array.isArray(currentModule.lorebook))}
<div class="border border-selected p-2 flex flex-col rounded-md mt-2">