Skip to content

Commit c39f8e9

Browse files
committed
docs: add NEWS/CHANGELOG entries for tool details feature
Add entries to R NEWS.md and Python CHANGELOG.md documenting the new querychat.tool_details option and QUERYCHAT_TOOL_DETAILS environment variable introduced in PR #137.
1 parent 3269abc commit c39f8e9

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

pkg-py/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### New features
1515

16+
1617
* New `QueryChat.app()` method enables quicker/easier chatting with a dataset. (#104)
1718

1819
* Enabled bookmarking by default in both `.app()` and `.server()` methods. In latter case, you'll need to also specify the `bookmark_store` (either in `shiny.App()` or `shiny.express.app_opts()`) for it to take effect. (#104)
@@ -31,6 +32,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3132

3233
* querychat's system prompt and tool descriptions were rewritten for clarity and future extensibility. (#90)
3334

35+
* Tool detail cards can now be expanded or collapsed by default when querychat runs a query or updates the dashboard via the `QUERYCHAT_TOOL_DETAILS` environment variable. Valid values are `"expanded"`, `"collapsed"`, or `"default"`. (#137)
36+
3437
## [0.2.2] - 2025-09-04
3538

3639
* Fixed another issue with data sources that aren't already narwhals DataFrames (#83)

pkg-py/docs/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### New features
1515

16+
* Added `QUERYCHAT_TOOL_DETAILS` environment variable to control whether tool detail cards (SQL query and results) are shown expanded or collapsed by default. Valid values are `"expanded"`, `"collapsed"`, or `"default"`. (#137)
17+
1618
* New `QueryChat.app()` method enables quicker/easier chatting with a dataset. (#104)
1719

1820
* Enabled bookmarking by default in both `.app()` and `.server()` methods. In latter case, you'll need to also specify the `bookmark_store` (either in `shiny.App()` or `shiny.express.app_opts()`) for it to take effect. (#104)

pkg-r/NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# querychat (development version)
22

3+
* Tool detail cards can now be expanded or collapsed by default when querychat runs a query or updates the dashboard via the `querychat.tool_details` R option or the `QUERYCHAT_TOOL_DETAILS` environment variable. Valid values are `"expanded"`, `"collapsed"`, or `"default"`. (#137)
4+
35
* Added bookmarking support to `QueryChat$server()` and `querychat_app()`. When bookmarking is enabled (via `bookmark_store = "url"` or `"server"` in `querychat_app()` or `$app_obj()`, or via `enable_bookmarking = TRUE` in `$server()`), the chat state (including current query, title, and chat history) will be saved and restored with Shiny bookmarks. (#107)
46

57
* Nearly the entire functional API (i.e., `querychat_init()`, `querychat_sidebar()`, `querychat_server()`, etc) has been hard deprecated in favor of a simpler OOP-based API. Namely, the new `QueryChat$new()` class is now the main entry point (instead of `querychat_init()`) and has methods to replace old functions (e.g., `$sidebar()`, `$server()`, etc). (#109)

0 commit comments

Comments
 (0)