Merge pull request #114 from constantine2nd/develop

Make Opey widget recevite responses at GUI
This commit is contained in:
Simon Redfern 2025-08-11 16:23:29 +02:00 committed by GitHub
commit 131b73432b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -336,7 +336,7 @@ export const useChat = defineStore('chat', {
}
if (data.type === 'token' && data.content) {
if (data.type === 'assistant_complete' && data.content) {
this.currentAssistantMessage.loading = false;
// Append content to the current assistant message
this.currentAssistantMessage.content += data.content;