feat: add local activation option in global lorebook settings
This commit is contained in:
@@ -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.",
|
childLoreDesc: "This is a copy of Character lore that remains 'Always Active' until removed or manually deactivated in the original.",
|
||||||
thinkingTokens: "Thinking Tokens",
|
thinkingTokens: "Thinking Tokens",
|
||||||
antiServerOverload: "Anti-Server Overload",
|
antiServerOverload: "Anti-Server Overload",
|
||||||
|
localActivationInGlobalLorebook: "Local Activation in Global Lorebook",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,6 +48,10 @@
|
|||||||
<Check bind:check={DBState.db.sideMenuRerollButton} name={language.sideMenuRerollButton}/>
|
<Check bind:check={DBState.db.sideMenuRerollButton} name={language.sideMenuRerollButton}/>
|
||||||
</div>
|
</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">
|
<div class="flex items-center mt-2">
|
||||||
<Check bind:check={DBState.db.requestInfoInsideChat} name={language.requestInfoInsideChat}/>
|
<Check bind:check={DBState.db.requestInfoInsideChat} name={language.requestInfoInsideChat}/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -922,7 +922,8 @@ export interface Database{
|
|||||||
url: string,
|
url: string,
|
||||||
key: string,
|
key: string,
|
||||||
model: string,
|
model: string,
|
||||||
}
|
},
|
||||||
|
localActivationInGlobalLorebook: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SeparateParameters{
|
interface SeparateParameters{
|
||||||
|
|||||||
Reference in New Issue
Block a user