@sqlrooms/ai-core / ChatComposerStateBoundary
Variable: ChatComposerStateBoundary
constChatComposerStateBoundary:FC<{ }>
Wraps children so that useChatComposer always has state to read.
If an ancestor already published composer state (Chat.Root or Chat.LocalAgentRoot), children render unchanged. Otherwise a session-mode provider is rendered around them, so a composer used without a <Chat> ancestor still works.