Save chat before exporting

This commit is contained in:
SillyLossy
2023-05-30 02:00:23 +03:00
parent 8454cfa666
commit eff1dabe41

View File

@ -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 = {