Browse Source

feat: message event

Timothy J. Baek 1 year ago
parent
commit
7ba7b959a8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/components/chat/Chat.svelte

+ 2 - 0
src/lib/components/chat/Chat.svelte

@@ -156,6 +156,8 @@
 				} else {
 					message.citations = [data];
 				}
+			} else if (type === 'message') {
+				message.content += data.content;
 			} else if (type === 'confirmation') {
 				eventCallback = cb;
 				showEventConfirmation = true;