mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Temp chat button works
This commit is contained in:
		@@ -6,6 +6,7 @@ import {
 | 
			
		||||
    getCurrentChatId,
 | 
			
		||||
    getRequestHeaders,
 | 
			
		||||
    getThumbnailUrl,
 | 
			
		||||
    newAssistantChat,
 | 
			
		||||
    openCharacterChat,
 | 
			
		||||
    selectCharacterById,
 | 
			
		||||
    sendSystemMessage,
 | 
			
		||||
@@ -50,7 +51,7 @@ async function sendWelcomePanel() {
 | 
			
		||||
            });
 | 
			
		||||
        });
 | 
			
		||||
        fragment.querySelector('button.openTemporaryChat').addEventListener('click', () => {
 | 
			
		||||
            toastr.info('This button does nothing at the moment. Try again later.');
 | 
			
		||||
            void newAssistantChat();
 | 
			
		||||
        });
 | 
			
		||||
        chatElement.append(fragment.firstChild);
 | 
			
		||||
    } catch (error) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user