Add continue type to not-emit list

075391e72027146195c3bfa0707ec7ece803254c

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -1Showing whitespace changes
public/script.js+2 -1
@@ -3103,7 +3103,8 @@ class StreamingProcessor {
31033103 generatedPromptCache = '';
31043104 unblockGeneration();
31053105
3106- if (this.type !== 'swipe' && this.type !== 'impersonate') {
3106+ const noEmitTypes = ['swipe', 'impersonate', 'continue'];
3107+ if (!noEmitTypes.includes(this.type)) {
31073108 eventSource.emit(event_types.MESSAGE_RECEIVED, this.messageId);
31083109 eventSource.emit(event_types.CHARACTER_MESSAGE_RENDERED, this.messageId);
31093110 }