mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 05:43:51 +00:00
(feature)(webapp) add multiple parse infos in history message (#256)
Co-authored-by: williamhliu <williamhliu@tencent.com>
This commit is contained in:
@@ -165,7 +165,7 @@ const Chat: ForwardRefRenderFunction<any, Props> = (
|
||||
{
|
||||
id: uuid(),
|
||||
type: MessageTypeEnum.AGENT_LIST,
|
||||
msg: agent?.name || currentAgent?.name || agentList?.[0].name,
|
||||
msg: agent?.name || currentAgent?.name || agentList?.[0]?.name,
|
||||
},
|
||||
]);
|
||||
};
|
||||
@@ -175,6 +175,7 @@ const Chat: ForwardRefRenderFunction<any, Props> = (
|
||||
id: item.questionId,
|
||||
type: MessageTypeEnum.QUESTION,
|
||||
msg: item.queryText,
|
||||
parseInfos: item.parseInfos,
|
||||
msgData: item.queryResult,
|
||||
score: item.score,
|
||||
agentId: currentAgent?.id,
|
||||
|
||||
Reference in New Issue
Block a user