From 4f0e272549820d3bd32981f085bb7b9bfcef5d94 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 18 Dec 2023 19:33:48 +0800 Subject: [PATCH] fix: add then eidt annotion cause show bug (#1775) --- web/app/components/app/chat/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/app/components/app/chat/index.tsx b/web/app/components/app/chat/index.tsx index 9a58cf0a8c..9f0b89c8de 100644 --- a/web/app/components/app/chat/index.tsx +++ b/web/app/components/app/chat/index.tsx @@ -231,6 +231,10 @@ const Chat: FC = ({ return { ...item, content: answer, + annotation: { + ...item.annotation, + logAnnotation: undefined, + } as any, } } return item