diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 081415bc8..937b62ffb 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1043,6 +1043,13 @@ }; } responseMessage.done = true; + + if (responseMessage.statusHistory) { + responseMessage.statusHistory = responseMessage.statusHistory.filter( + (status) => status.action !== 'knowledge_search' + ); + } + messages = messages; } @@ -1405,6 +1412,12 @@ }; responseMessage.done = true; + if (responseMessage.statusHistory) { + responseMessage.statusHistory = responseMessage.statusHistory.filter( + (status) => status.action !== 'knowledge_search' + ); + } + messages = messages; }; diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index a703375a4..2cfadf9d2 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -346,7 +346,7 @@ {@const status = ( message?.statusHistory ?? [...(message?.status ? [message?.status] : [])] ).at(-1)} -