mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 04:57:28 +00:00
(feature)(chat-sdk) modify the method for obtaining similar questions and recommended drill-down dimensions; do not display assistant button when there is only one assistant (#514)
This commit is contained in:
@@ -177,7 +177,7 @@ const Chat: ForwardRefRenderFunction<any, Props> = (
|
||||
msg: item.queryText,
|
||||
parseInfos: item.parseInfos,
|
||||
parseTimeCost: item.parseTimeCost,
|
||||
msgData: item.queryResult,
|
||||
msgData: { ...(item.queryResult || {}), similarQueries: item.similarQueries },
|
||||
score: item.score,
|
||||
agentId: currentAgent?.id,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user