Returns the UI elements for the AI chat panel: a header bar with a “New conversation” button and the shinychat widget.
When shinychat is not installed or the chat-bot is disabled via
options(shidashi.chatbot = FALSE), returns an empty
tagList().
Typically called inside shiny::renderUI by
chatbot_server() to fill a module_drawer.
Can also be placed anywhere in module UI directly.
Value
A shiny::tagList containing the chat UI or empty.