feat: Add default variables to character settings
This commit is contained in:
@@ -120,4 +120,6 @@
|
||||
<NumberInput bind:value={$DataBase.promptSettings.maxThoughtTagDepth}/>
|
||||
<span class="text-textcolor mt-4">{language.customPromptTemplateToggle} <Help key='customPromptTemplateToggle' /></span>
|
||||
<TextAreaInput bind:value={$DataBase.customPromptTemplateToggle}/>
|
||||
<span class="text-textcolor mt-4">{language.defaultVariables} <Help key='defaultVariables' /></span>
|
||||
<TextAreaInput bind:value={$DataBase.templateDefaultVariables}/>
|
||||
{/if}
|
||||
@@ -254,6 +254,7 @@
|
||||
}} />
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
|
||||
{#if $DataBase.supaMemoryType !== 'none' || $DataBase.hanuraiEnable}
|
||||
{#if $DataBase.hanuraiEnable}
|
||||
@@ -764,6 +765,9 @@
|
||||
<span class="text-textcolor mt-2">{language.backgroundHTML} <Help key="backgroundHTML" /></span>
|
||||
<TextAreaInput highlight margin="both" autocomplete="off" bind:value={currentChar.data.backgroundHTML}></TextAreaInput>
|
||||
|
||||
<span class="text-textcolor mt-2">{language.defaultVariables} <Help key="defaultVariables" /></span>
|
||||
<TextAreaInput highlight margin="both" autocomplete="off" bind:value={currentChar.data.defaultVariables}></TextAreaInput>
|
||||
|
||||
<span class="text-textcolor">{language.creator}</span>
|
||||
<TextInput size="sm" autocomplete="off" bind:value={currentChar.data.additionalData.creator} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user