#394 Preserve system message by assigning group generation id

This commit is contained in:
SillyLossy
2023-05-29 12:57:30 +03:00
parent d093cca125
commit 9a7e17cfbc

View File

@@ -148,6 +148,7 @@ async function sendMessageAs(_, text) {
original_avatar: original_avatar, original_avatar: original_avatar,
extra: { extra: {
bias: bias.trim().length ? bias : null, bias: bias.trim().length ? bias : null,
gen_id: Date.now(),
} }
}; };
@@ -178,6 +179,7 @@ async function sendNarratorMessage(_, text) {
extra: { extra: {
type: system_message_types.NARRATOR, type: system_message_types.NARRATOR,
bias: bias.trim().length ? bias : null, bias: bias.trim().length ? bias : null,
gen_id: Date.now(),
}, },
}; };