Forbid double initialization on opening a chat with 1 message
This commit is contained in:
parent
a2661b2c48
commit
ff5d5fcc5e
|
@ -6107,7 +6107,7 @@ export async function openCharacterChat(file_name) {
|
|||
chat_metadata = {};
|
||||
await getChat();
|
||||
$('#selected_chat_pole').val(file_name);
|
||||
await createOrEditCharacter();
|
||||
await createOrEditCharacter(new CustomEvent('newChat'));
|
||||
}
|
||||
|
||||
////////// OPTIMZED MAIN API CHANGE FUNCTION ////////////
|
||||
|
|
Loading…
Reference in New Issue