From 900892c653956dd031e37697bb0ca90fa8e6d133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daphn=C3=A9=20Popin?= Date: Fri, 19 Jul 2024 13:46:47 +0200 Subject: [PATCH] Fix convo tool chip (#6341) --- .../assistant/conversation/actions/AgentMessageActions.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/components/assistant/conversation/actions/AgentMessageActions.tsx b/front/components/assistant/conversation/actions/AgentMessageActions.tsx index d06a1b74d643..57a09b3eb923 100644 --- a/front/components/assistant/conversation/actions/AgentMessageActions.tsx +++ b/front/components/assistant/conversation/actions/AgentMessageActions.tsx @@ -24,8 +24,8 @@ export function AgentMessageActions({ // gets emitted in which case the content will get requalified as chain of thoughts and this will // switch back to true. const isThinkingOrActing = useMemo( - () => !agentMessage.content?.length && agentMessage.status === "created", - [agentMessage.content, agentMessage.status] + () => agentMessage.status === "created", + [agentMessage.status] ); useEffect(() => {