Browse Source

fix: add then eidt annotion cause show bug (#1775)

Joel 1 năm trước cách đây
mục cha
commit
4f0e272549
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      web/app/components/app/chat/index.tsx

+ 4 - 0
web/app/components/app/chat/index.tsx

@@ -231,6 +231,10 @@ const Chat: FC<IChatProps> = ({
                     return {
                       ...item,
                       content: answer,
+                      annotation: {
+                        ...item.annotation,
+                        logAnnotation: undefined,
+                      } as any,
                     }
                   }
                   return item