Add continue type to not-emit list

075391e72027146195c3bfa0707ec7ece803254c

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

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