Skip to content

Commit 131b734

Browse files
authored
Merge pull request #114 from constantine2nd/develop
Make Opey widget recevite responses at GUI
2 parents 04ed8ea + 4f5a7dd commit 131b734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ export const useChat = defineStore('chat', {
336336

337337
}
338338

339-
if (data.type === 'token' && data.content) {
339+
if (data.type === 'assistant_complete' && data.content) {
340340
this.currentAssistantMessage.loading = false;
341341
// Append content to the current assistant message
342342
this.currentAssistantMessage.content += data.content;

0 commit comments

Comments
 (0)