mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#394 Preserve system message by assigning group generation id
This commit is contained in:
@@ -148,6 +148,7 @@ async function sendMessageAs(_, text) {
|
||||
original_avatar: original_avatar,
|
||||
extra: {
|
||||
bias: bias.trim().length ? bias : null,
|
||||
gen_id: Date.now(),
|
||||
}
|
||||
};
|
||||
|
||||
@@ -178,6 +179,7 @@ async function sendNarratorMessage(_, text) {
|
||||
extra: {
|
||||
type: system_message_types.NARRATOR,
|
||||
bias: bias.trim().length ? bias : null,
|
||||
gen_id: Date.now(),
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user