mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Replace multigen with auto-continue
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
import { callPopup, cancelTtsPlay, eventSource, event_types, isMultigenEnabled, is_send_press, saveSettingsDebounced } from '../../../script.js'
 | 
			
		||||
import { callPopup, cancelTtsPlay, eventSource, event_types, saveSettingsDebounced } from '../../../script.js'
 | 
			
		||||
import { ModuleWorkerWrapper, doExtrasFetch, extension_settings, getApiUrl, getContext, modules } from '../../extensions.js'
 | 
			
		||||
import { escapeRegex, getStringHash } from '../../utils.js'
 | 
			
		||||
import { EdgeTtsProvider } from './edge.js'
 | 
			
		||||
@@ -117,11 +117,6 @@ async function moduleWorker() {
 | 
			
		||||
        return
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Multigen message is currently being generated
 | 
			
		||||
    if (is_send_press && isMultigenEnabled()) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Chat changed
 | 
			
		||||
    if (
 | 
			
		||||
        context.chatId !== lastChatId
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user