mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Chat without character selected (#2757)
* WIP: Enable chatting without character selected * Add burger menu item * Neutral assistant chat space * Revert "Neutral assistant chat space" This reverts commitbe2da4a629
. * Revert "Add burger menu item" This reverts commitd4e8d990c1
. * Use simple ephemeral chats * Only start a new assistant chat if not already in it * Don't emit event not to clear pending files * Allow edits, disable checkpoints and branches * Exclude from tags, allow copy * Allow hide/unhide * Allow zooming avatar * Suppress warning * Rename neutral character * Rename neutral back to Assistant
This commit is contained in:
@ -168,6 +168,11 @@ export async function createBranch(mesId) {
|
||||
}
|
||||
|
||||
async function createNewBookmark(mesId) {
|
||||
if (this_chid === undefined && !selected_group) {
|
||||
toastr.info('No character selected.', 'Checkpoint creation aborted');
|
||||
return;
|
||||
}
|
||||
|
||||
if (!chat.length) {
|
||||
toastr.warning('The chat is empty.', 'Checkpoint creation failed');
|
||||
return;
|
||||
|
Reference in New Issue
Block a user