Add bulk enabling settings
This commit is contained in:
@@ -1029,4 +1029,5 @@ export const languageEnglish = {
|
||||
nextSummarizationLoadingError: "Error loading next summarization target: {0}",
|
||||
emptySelectedFirstMessageLabel: "WARN: Selected first message is empty",
|
||||
},
|
||||
bulkEnabling: "Lorebook Bulk Enabling",
|
||||
}
|
||||
|
||||
@@ -951,4 +951,5 @@ export const languageKorean = {
|
||||
"nextSummarizationLoadingError": "다음 요약 대상을 불러오는 동안 오류 발생: {0}",
|
||||
"emptySelectedFirstMessageLabel": "경고: 선택된 첫 메시지가 비어있습니다"
|
||||
},
|
||||
"bulkEnabling": "한번에 로어북 활성화 버튼",
|
||||
}
|
||||
|
||||
@@ -54,4 +54,8 @@
|
||||
|
||||
<div class="flex items-center mt-2">
|
||||
<Check bind:check={DBState.db.inlayErrorResponse} name={language.inlayErrorResponse}/>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center mt-2">
|
||||
<Check bind:check={DBState.db.bulkEnabling} name={language.bulkEnabling}/>
|
||||
</div>
|
||||
@@ -133,25 +133,27 @@
|
||||
}} class="hover:text-textcolor ml-2 cursor-pointer">
|
||||
<FolderUpIcon />
|
||||
</button>
|
||||
<button onclick={() => {
|
||||
toggleCharacterLoreAlwaysActive()
|
||||
}} class="hover:text-textcolor ml-2 cursor-pointer flex items-center gap-1">
|
||||
{#if isAllCharacterLoreAlwaysActive()}
|
||||
<SunIcon />
|
||||
{:else}
|
||||
<LinkIcon />
|
||||
{/if}
|
||||
<span class="text-xs">CHAR</span>
|
||||
</button>
|
||||
<button onclick={() => {
|
||||
toggleChatLoreAlwaysActive()
|
||||
}} class="hover:text-textcolor ml-2 cursor-pointer flex items-center gap-1">
|
||||
{#if isAllChatLoreAlwaysActive()}
|
||||
<SunIcon />
|
||||
{:else}
|
||||
<LinkIcon />
|
||||
{/if}
|
||||
<span class="text-xs">CHAT</span>
|
||||
</button>
|
||||
{#if DBState.db.bulkEnabling}
|
||||
<button onclick={() => {
|
||||
toggleCharacterLoreAlwaysActive()
|
||||
}} class="hover:text-textcolor ml-2 cursor-pointer flex items-center gap-1">
|
||||
{#if isAllCharacterLoreAlwaysActive()}
|
||||
<SunIcon />
|
||||
{:else}
|
||||
<LinkIcon />
|
||||
{/if}
|
||||
<span class="text-xs">CHAR</span>
|
||||
</button>
|
||||
<button onclick={() => {
|
||||
toggleChatLoreAlwaysActive()
|
||||
}} class="hover:text-textcolor ml-2 cursor-pointer flex items-center gap-1">
|
||||
{#if isAllChatLoreAlwaysActive()}
|
||||
<SunIcon />
|
||||
{:else}
|
||||
<LinkIcon />
|
||||
{/if}
|
||||
<span class="text-xs">CHAT</span>
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
@@ -900,6 +900,7 @@ export interface Database{
|
||||
OaiCompAPIKeys: {[key:string]:string}
|
||||
inlayErrorResponse:boolean
|
||||
reasoningEffort:number
|
||||
bulkEnabling:boolean
|
||||
}
|
||||
|
||||
interface SeparateParameters{
|
||||
|
||||
Reference in New Issue
Block a user