From e377424208236e93528f321badc68f512762be79 Mon Sep 17 00:00:00 2001 From: Jan Martiska Date: Wed, 17 Apr 2024 10:24:16 +0200 Subject: [PATCH] Show errors in the chat page --- core/deployment/src/main/resources/dev-ui/qwc-chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/deployment/src/main/resources/dev-ui/qwc-chat.js b/core/deployment/src/main/resources/dev-ui/qwc-chat.js index 23a56581b..6652a80fc 100644 --- a/core/deployment/src/main/resources/dev-ui/qwc-chat.js +++ b/core/deployment/src/main/resources/dev-ui/qwc-chat.js @@ -221,7 +221,7 @@ status = ${item.toolExecutionResult.text}`); _filterChatItems(){ this._chatItems = this._unfilteredChatItems.filter((item) => { - if(item.userName === "Me" || item.userName === "AI"){ + if(item.userName === "Me" || item.userName === "AI" || item.userName === "Error"){ return true; }else if(this._showToolRelatedMessages && item.userName === "Tools"){ return true;