Options for the useUiChat
hook.
API
interface UiChatOptions<Tools extends Chat.AnyTool> {
components: ExposedComponent < any > [];
debounceTime?: number;
debugName?: string;
messages?: Chat.Message<UiChatSchema, Tools>[];
model: KnownModelIds ;
system: string;
tools?: Tools[];
}
UiChatOptions
@type
Tools
Chat.AnyTool