Include tidyllm into package suggestions
Change-Id: I5756c5259f9d0215cd290c092c3d2aa84ad0d7c7
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)) {