mirror of
https://github.com/OpenBankProject/API-Explorer-II.git
synced 2026-02-06 10:47:04 +00:00
Merge pull request #114 from constantine2nd/develop
Make Opey widget recevite responses at GUI
This commit is contained in:
commit
131b73432b
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user