Skip to contents

A shinychat::chat_ui() configured the way codeagent_server() expects: the input id is "chat", the approval / question bar sits above the input (it renders into output ca_interaction_ui), cancel is enabled, and tool calls are grouped per tool. Place it anywhere in the host page, together with codeagent_head_assets().

Usage

codeagent_chat_ui(..., greeting = NULL, footer = NULL)

Arguments

...

Further arguments passed to shinychat::chat_ui(); they override the defaults described above (except id).

greeting

Optional greeting (markdown or HTML string, or a shinychat::chat_greeting()). A string is shown as a persistent greeting.

Optional extra UI placed under the interaction bar.

Value

A Shiny tag.