mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Chub embedded lorebooks import
This commit is contained in:
@@ -1142,8 +1142,8 @@ function convertCharacterBook(characterBook) {
|
|||||||
entry.id = index;
|
entry.id = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
result.entries[index] = {
|
result.entries[entry.id] = {
|
||||||
uid: entry.id || index,
|
uid: entry.id,
|
||||||
key: entry.keys,
|
key: entry.keys,
|
||||||
keysecondary: entry.secondary_keys || [],
|
keysecondary: entry.secondary_keys || [],
|
||||||
comment: entry.comment || "",
|
comment: entry.comment || "",
|
||||||
|
Reference in New Issue
Block a user