We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555b464 commit 833d1f8Copy full SHA for 833d1f8
examples/react-chatbot/components/AIStateIndicator/AIStateIndicator.tsx
@@ -12,7 +12,7 @@ export const AIStateIndicator = () => {
12
const { channel } = useChannelStateContext();
13
const { aiState } = useAIState(channel);
14
15
- // if (![AIStates.Generating, AIStates.Thinking].includes(aiState)) return null;
+ if (![AIStates.Generating, AIStates.Thinking].includes(aiState)) return null;
16
17
return <StateIndicator key={channel.state.last_message_at?.toString()} />;
18
};
0 commit comments