Skip to content

Commit e2ced68

Browse files
authored
fix(update_dashboard): Return a confirmation message on successful update (#57)
* fix(update_dashboard): Return a confirmation message on successful update Fixes #56 * chore: remove future features
1 parent 043667a commit e2ced68

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkg-py/src/querychat/querychat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ async def update_dashboard(query: str, title: str):
488488
if title is not None:
489489
current_title.set(title)
490490

491+
return "Dashboard updated. Use `query` tool to review results, if needed."
492+
491493
# Function to perform a SQL query and return results as JSON
492494
async def query(query: str):
493495
"""

pkg-r/R/querychat.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ querychat_server <- function(id, querychat_config) {
198198
if (!is.null(title)) {
199199
current_title(title)
200200
}
201+
202+
"Dashboard updated. Use `query` tool to review results, if needed."
201203
}
202204

203205
# Perform a SQL query on the data, and return the results as JSON.

0 commit comments

Comments
 (0)