mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Save chat before exporting
This commit is contained in:
@ -5864,6 +5864,7 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
$(document).on("click", ".exportChatButton", async function () {
|
||||
await saveChatConditional();
|
||||
const filenamefull = $(this).closest('.select_chat_block_wrapper').find('.select_chat_block_filename').text();
|
||||
const filename = filenamefull.replace('.jsonl', '');
|
||||
const body = {
|
||||
|
Reference in New Issue
Block a user