ic-reactor
    Preparing search index...

    Variable useAgentStateConst

    useAgentState: () => types.AgentState = AgentHooks.useAgentState

    Accesses the current state of the agent.

    Type declaration

    function AgentStateComponent() {
     const { initialized, initializing } = useAgentState();
    
     return (
      
    {initialized ? 'Agent is initialized.' : initializing ? 'Agent is initializing...' : 'Agent is not initialized.'}
    ); }