Hiyve Components - v1.0.0
    Preparing search index...

    Function useAiChat

    • Access AI assistant chat state.

      Returns { messages: AiChatMessage[]; setMessages: (messages: AiChatMessage[]) => void }

      Object containing AI chat messages and setter

      AI chat messages persist across component unmounts (e.g., sidebar tab switches) and are cleared when the user leaves the room.