Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gadenbuie
Copy link
Collaborator

Small refactor to live_browser() to initialize the shinychat::chat_ui() with the messages from chat$get_turns() rather than replaying the chat server-side.

I think this approach is an improvement in general, but it also fixes a bug with ellmer and dev shinychat caused by the default value of the chunk argument of shinychat::chat_append_message() changing from TRUE to FALSE. (Whether or not we revisit that change, initializing the chat with messages is guaranteed to be stable.)

@hadley hadley merged commit 9481a8e into tidyverse:main Mar 26, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants