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(() => {