mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
(improvement)(chat-sdk) fix the issue of incorrect parameters in query similar questions (#565)
Co-authored-by: williamhliu <williamhliu@tencent.com>
This commit is contained in:
@@ -171,6 +171,7 @@ const ChatItem: React.FC<Props> = ({
|
|||||||
(!parses[0]?.properties?.type && !parses[0]?.queryMode)
|
(!parses[0]?.properties?.type && !parses[0]?.queryMode)
|
||||||
) {
|
) {
|
||||||
setParseTip(PARSE_ERROR_TIP);
|
setParseTip(PARSE_ERROR_TIP);
|
||||||
|
setParseInfo({ queryId } as any);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
onUpdateMessageScroll?.();
|
onUpdateMessageScroll?.();
|
||||||
|
|||||||
Reference in New Issue
Block a user