Include tidyllm into package suggestions
Change-Id: I5756c5259f9d0215cd290c092c3d2aa84ad0d7c7
diff --git a/DESCRIPTION b/DESCRIPTION
index 91864d7..7890ebb 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -47,6 +47,7 @@
Suggests:
lifecycle,
testthat,
+ tidyllm,
htmlwidgets,
rmarkdown,
shiny,
diff --git a/tests/testthat/test-readme-against-llm.R b/tests/testthat/test-readme-against-llm.R
index 9d82a84..b3da59f 100644
--- a/tests/testthat/test-readme-against-llm.R
+++ b/tests/testthat/test-readme-against-llm.R
@@ -1,3 +1,5 @@
+library(tidyllm)
+
# Helper function to find README.md file in current or parent directories
find_readme_path <- function() {
readme_paths <- c("Readme.md", "../Readme.md", "../../Readme.md")
@@ -21,8 +23,6 @@
# Helper function to call LLM API using tidyllm
call_llm_api <- function(prompt, max_tokens = 500, temperature = 0.1, model = LLM_MODEL) {
- library(tidyllm)
-
tryCatch({
# Determine the provider based on model name
if (grepl("^gpt-", model, ignore.case = TRUE)) {