From 232280d959f3ec31b9f3d9790428bd660c6d0650 Mon Sep 17 00:00:00 2001 From: jw_mac <77239050qq@gmail.com> Date: Thu, 11 Jun 2026 21:09:00 +0800 Subject: [PATCH] fix:lack the completed status set --- frontend/src/views/chat/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index afb7bf24..85cae129 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -1345,6 +1345,7 @@ const handleAgentChunk = (data) => { if (data.response_type === 'error' && !toolName) { const errorMsg = data.content || t('chat.processError'); message.content = errorMsg; + message.is_completed = true; isReplying.value = false; loading.value = false; MessagePlugin.error(errorMsg); @@ -1354,6 +1355,7 @@ const handleAgentChunk = (data) => { // Generic error without tool context const errorMsg = data.content || t('chat.processError'); message.content = errorMsg; + message.is_completed = true; isReplying.value = false; loading.value = false; MessagePlugin.error(errorMsg);