You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Namespace id in chat_append() and friends (#37)
* fix: Namespace `id` in `chat_append()` and friends
* Allows `chat_append()` to work in modules
* We also now check for an active Shiny session and throw early
* docs: Add news item
* Added new `output_markdown_stream()` and `markdown_stream()` functions to allow for streaming markdown content to the client. This is useful for showing Generative AI responses in real-time in a Shiny app, outside of a chat interface. (#23)
4
+
4
5
* Both `chat_ui()` and `output_markdown_stream()` now support arbirary Shiny UI elements inside of messages. This allows for gathering input from the user (e.g., `selectInput()`), displaying of rich output (e.g., `{htmlwidgets}` like `{plotly}`), and more. (#1868)
6
+
5
7
* Added a new `chat_clear()` function to clear the chat of all messages. (#25)
6
8
9
+
*`chat_append()`, `chat_append_message()` and `chat_clear()` now all work in Shiny modules without needing to namespace the `id` of the Chat component. (#37)
0 commit comments