Creates a UI chat resource.
API
declare function uiChatResource<
Tools extends Chat.AnyTool ,
>(
args: UiChatResourceOptions <Tools>,
): UiChatResourceRef <Tools>;uiChatResource
UiChatResourceRef<Tools>@paramargs:UiChatResourceOptions<Tools>The arguments for the UI chat resource.
@typeToolsChat.AnyTool@returnsUiChatResourceRef<Tools>