Skip to content

Commit

Permalink
Fix convo tool chip (#6341)
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph authored Jul 19, 2024
1 parent 92c9ba3 commit 900892c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 900892c

Please sign in to comment.