mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Script: Don't save character on chat creation
There's no need to save a character when a new chat is created. The main reason for this commit is that after creating a new chat with metadata, it immediately gets cleared after a few seconds. This may be a race condition, but there's also no need for this function call in the first place. Fixes: Author's note not injecting on first message when new chat is spawned. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -7236,7 +7236,6 @@ $(document).ready(function () {
|
||||
chat_metadata = {};
|
||||
characters[this_chid].chat = name2 + " - " + humanizedDateTime();
|
||||
$("#selected_chat_pole").val(characters[this_chid].chat);
|
||||
saveCharacterDebounced();
|
||||
getChat();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user