Skip to content

Conversation

@gadenbuie
Copy link
Collaborator

Fixes #397

Introduces a dev dependency on shinychat v0.1.1.9001+ that we'll need to resolve when shinychat is released, prior to next ellmer release. (If you'd like me to refactor to maintain back compat, just let me know.)

The NEWS bullet also advertises the new shinychat::chat_mod_ui() and shinychat::chat_mod_server() functions that can be used to easily create a batteries-included chat interface from an ellmer Chat object.

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gadenbuie
Copy link
Collaborator Author

Do you have any suggestions about how to handle the mutual dependencies problem? I'm assuming the root cause of this test failure is that after this change ellmer depends on shinychat (in Suggests) and shinychat depends on ellmer (in Imports).

@hadley
Copy link
Member

hadley commented Apr 5, 2025

Just keep shinychat in Suggests?

@gadenbuie
Copy link
Collaborator Author

Just keep shinychat in Suggests?

Oh shoot, I didn't intentionally move it; I missed that use_dev_package() moved it. Thanks for the fix up!

@hadley hadley merged commit 700a045 into tidyverse:main Apr 9, 2025
9 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.

shinychat: Move live_browser() implementation to shinychat

2 participants