/**
* @fileoverview Chat system module exports.
*
* This module provides a complete chat system implementation with:
* - **State management**: Centralized state via `useChatState` hook
* - **Context provider**: `ChatProvider` for React context
* - **Message handling**: Send, receive, and stream chat messages
* - **Persistence**: Guest chat storage in localStorage
* - **Configuration**: AI model provider selection and setup
*
* ## Architecture
*
* ```
* ChatProvider (orchestration)
* └── useChatState (state management)
* ├── checkConfig (model configuration)
* ├── loadMessages (message loading)
* ├── sendMessage (message sending)
* └── buildSections (UI processing)
* ```
*
* ## Quick Start
*
* ```tsx
* // 1. Wrap your app with ChatProvider
* import { ChatProvider } from 'research-agent-ui';
*
* function App({ children }) {
* return