mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add ability to insert role-typed prompt injections
This commit is contained in:
@ -406,6 +406,7 @@ function convertWorldInfoToCharacterBook(name, entries) {
|
||||
match_whole_words: entry.matchWholeWords ?? null,
|
||||
case_sensitive: entry.caseSensitive ?? null,
|
||||
automation_id: entry.automationId ?? '',
|
||||
role: entry.role ?? 0,
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user