[feat] send as original role

This commit is contained in:
kwaroran
2023-12-24 22:12:41 +09:00
parent 57081a3c3c
commit 6e56803fd2
4 changed files with 8 additions and 3 deletions

View File

@@ -8,6 +8,7 @@
import CheckInput from "./GUI/CheckInput.svelte";
import { ArrowDown, ArrowUp, XIcon } from "lucide-svelte";
import TextInput from "./GUI/TextInput.svelte";
import { DataBase } from "src/ts/storage/database";
export let proompt:Proompt
export let onRemove:() => void = () => {}
export let moveUp:() => void = () => {}
@@ -78,6 +79,9 @@
}
}} />
{/if}
{#if $DataBase.proomptSettings.sendChatAsSystem}
<CheckInput name={language.chatAsOriginalOnSystem} bind:check={proompt.chatAsOriginalOnSystem}/>
{/if}
{/if}
{#if proompt.type === 'authornote'}
<span>{language.defaultPrompt}</span>