Skip to contents

Register the AskUserForm tool on a Chat

Usage

register_ask_user_form_tool(chat, ask_form_fn = NULL, async = FALSE)

Arguments

chat

An ellmer::Chat object.

ask_form_fn

Function or NULL. Shiny callback (see ask_user_form_tool()).

async

Logical. Build the async (promise-awaiting) variant (Shiny).

Value

Invisibly chat.