mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	remove console log spam.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 396 KiB After Width: | Height: | Size: 335 KiB | 
| @@ -1212,11 +1212,11 @@ function addOneMessage(mes, { type = "normal", insertAfter = null, scroll = true | |||||||
|         for (var i = 0; i < itemizedPrompts.length; i++) { |         for (var i = 0; i < itemizedPrompts.length; i++) { | ||||||
|             if (itemizedPrompts[i].mesId === mesIdToFind) { |             if (itemizedPrompts[i].mesId === mesIdToFind) { | ||||||
|                 newMessage.find(".mes_prompt").show(); |                 newMessage.find(".mes_prompt").show(); | ||||||
|                 console.log(`showing prompt for mesID ${params.mesId} from ${params.characterName}`); |                 //console.log(`showing prompt for mesID ${params.mesId} from ${params.characterName}`); | ||||||
|             } else { |             } else { | ||||||
|                 console.log(`no cache obj for mesID ${mesIdToFind}, hiding prompt button and continuing search`); |                 //console.log(`no cache obj for mesID ${mesIdToFind}, hiding prompt button and continuing search`); | ||||||
|                 newMessage.find(".mes_prompt").hide(); |                 newMessage.find(".mes_prompt").hide(); | ||||||
|                 console.log(itemizedPrompts); |                 //console.log(itemizedPrompts); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } else if (params.isUser !== true) { //hide all when prompt cache is empty |     } else if (params.isUser !== true) { //hide all when prompt cache is empty | ||||||
| @@ -1603,7 +1603,7 @@ class StreamingProcessor { | |||||||
|         $('.mes_buttons:last').show(); |         $('.mes_buttons:last').show(); | ||||||
|         generatedPromtCache = ''; |         generatedPromtCache = ''; | ||||||
|  |  | ||||||
|         console.log("Generated text size:", text.length, text) |         //console.log("Generated text size:", text.length, text) | ||||||
|  |  | ||||||
|         if (power_user.auto_swipe) { |         if (power_user.auto_swipe) { | ||||||
|             function containsBlacklistedWords(str, blacklist, threshold) { |             function containsBlacklistedWords(str, blacklist, threshold) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user