From 125598bd6e0cf4c04526aa02f1f6c8f4dbda619a Mon Sep 17 00:00:00 2001 From: williamhliu <137068196+williamhliu@users.noreply.github.com> Date: Fri, 22 Dec 2023 18:25:41 +0800 Subject: [PATCH] (improvement)(chat-sdk) fix the issue of incorrect parameters in query similar questions (#565) Co-authored-by: williamhliu --- webapp/packages/chat-sdk/src/components/ChatItem/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/packages/chat-sdk/src/components/ChatItem/index.tsx b/webapp/packages/chat-sdk/src/components/ChatItem/index.tsx index 2f8c762bf..c248f26df 100644 --- a/webapp/packages/chat-sdk/src/components/ChatItem/index.tsx +++ b/webapp/packages/chat-sdk/src/components/ChatItem/index.tsx @@ -171,6 +171,7 @@ const ChatItem: React.FC = ({ (!parses[0]?.properties?.type && !parses[0]?.queryMode) ) { setParseTip(PARSE_ERROR_TIP); + setParseInfo({ queryId } as any); return; } onUpdateMessageScroll?.();