feat: add local activation option in global lorebook settings

This commit is contained in:
Kwaroran
2025-03-05 05:41:04 +09:00
parent 90a744a0f1
commit 6ed005b733
3 changed files with 7 additions and 1 deletions

View File

@@ -1061,4 +1061,5 @@ export const languageEnglish = {
childLoreDesc: "This is a copy of Character lore that remains 'Always Active' until removed or manually deactivated in the original.",
thinkingTokens: "Thinking Tokens",
antiServerOverload: "Anti-Server Overload",
localActivationInGlobalLorebook: "Local Activation in Global Lorebook",
}

View File

@@ -48,6 +48,10 @@
<Check bind:check={DBState.db.sideMenuRerollButton} name={language.sideMenuRerollButton}/>
</div>
<div class="flex items-center mt-2">
<Check bind:check={DBState.db.localActivationInGlobalLorebook} name={language.localActivationInGlobalLorebook}/>
</div>
<div class="flex items-center mt-2">
<Check bind:check={DBState.db.requestInfoInsideChat} name={language.requestInfoInsideChat}/>
</div>

View File

@@ -922,7 +922,8 @@ export interface Database{
url: string,
key: string,
model: string,
}
},
localActivationInGlobalLorebook: boolean
}
interface SeparateParameters{