From 40705181a0ab44f9827b824d365164b163b58009 Mon Sep 17 00:00:00 2001 From: williamhliu <137068196+williamhliu@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:43:18 +0800 Subject: [PATCH] (fix)(webapp) fix the issue of missing agentId in the parameter passing of recommended similar questions in the history record (#216) --- webapp/packages/chat-sdk/src/Chat/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/packages/chat-sdk/src/Chat/index.tsx b/webapp/packages/chat-sdk/src/Chat/index.tsx index a2bb7b155..b2f06aa0f 100644 --- a/webapp/packages/chat-sdk/src/Chat/index.tsx +++ b/webapp/packages/chat-sdk/src/Chat/index.tsx @@ -183,6 +183,7 @@ const Chat: ForwardRefRenderFunction = ( msg: item.queryText, msgData: item.queryResult, score: item.score, + agentId: currentAgent?.id, })); };