Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix:lack the completed status set

jw_mac232280d959f3
diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue
index afb7bf24e..85cae1294 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);