We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04ed8ea + 4f5a7dd commit 131b734Copy full SHA for 131b734
1 file changed
src/stores/chat.ts
@@ -336,7 +336,7 @@ export const useChat = defineStore('chat', {
336
337
}
338
339
- if (data.type === 'token' && data.content) {
+ if (data.type === 'assistant_complete' && data.content) {
340
this.currentAssistantMessage.loading = false;
341
// Append content to the current assistant message
342
this.currentAssistantMessage.content += data.content;
0 commit comments