diff --git a/easyflow-ui-admin/app/src/components/chat/chat.vue b/easyflow-ui-admin/app/src/components/chat/chat.vue index 6ab8e74b..a8dca141 100644 --- a/easyflow-ui-admin/app/src/components/chat/chat.vue +++ b/easyflow-ui-admin/app/src/components/chat/chat.vue @@ -578,6 +578,9 @@ watch( { flush: 'post' }, ); onBeforeUnmount(() => { + if (sending.value) { + stopSse(); + } if (bubbleListScrollElement.value) { bubbleListScrollElement.value.removeEventListener( 'scroll', diff --git a/easyflow-ui-admin/app/src/views/ai/bots/pages/setting/PromptChoreChatModal.vue b/easyflow-ui-admin/app/src/views/ai/bots/pages/setting/PromptChoreChatModal.vue index 8944942f..6b8ec329 100644 --- a/easyflow-ui-admin/app/src/views/ai/bots/pages/setting/PromptChoreChatModal.vue +++ b/easyflow-ui-admin/app/src/views/ai/bots/pages/setting/PromptChoreChatModal.vue @@ -1,5 +1,5 @@