Skip to content

Commit 5d87b53

Browse files
committed
fix(pkg-r): follow up to #133 -- remove redundant greeting warning in R package
1 parent f58df05 commit 5d87b53

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pkg-r/R/QueryChat.R

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,6 @@ QueryChat <- R6::R6Class(
167167
}
168168
self$greeting <- greeting
169169

170-
if (is.null(greeting)) {
171-
rlang::warn(c(
172-
"No greeting provided; the LLM will be invoked at conversation start to generate one.",
173-
"*" = "For faster startup, lower cost, and determinism, please save a greeting and pass it to QueryChat$new().",
174-
"i" = "You can generate a greeting with $generate_greeting()."
175-
))
176-
}
177-
178170
prompt <- create_system_prompt(
179171
private$.data_source,
180172
data_description = data_description,

0 commit comments

Comments
 (0)