Skip to content

Commit 5f045ec

Browse files
committed
fix(r/tool_query): Fix unprefixed call to ellmer::interpolate()
1 parent 982e29c commit 5f045ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg-r/R/querychat_tools.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ tool_query <- function(data_source) {
9393
description = interpolate_package("tool-query.md", db_type = db_type),
9494
arguments = list(
9595
query = ellmer::type_string(
96-
interpolate(
96+
ellmer::interpolate(
9797
"A valid {{db_type}} SQL SELECT statement. Must follow the database schema provided in the system prompt. Use clear column aliases (e.g., 'AVG(price) AS avg_price') and include SQL comments for complex logic. Subqueries and CTEs are encouraged for readability.",
9898
db_type = db_type
9999
)

0 commit comments

Comments
 (0)