Skip to content

Commit

Permalink
Show errors in the chat page
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartisk committed Apr 17, 2024
1 parent 49d2465 commit e377424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/deployment/src/main/resources/dev-ui/qwc-chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e377424

Please sign in to comment.