Skip to content

Commit

Permalink
docs: fix messages typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaburg1 committed Apr 17, 2024
1 parent 39c99e9 commit 0fdfe57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/LLM_calls.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ interrogate_llm <- function(

#' Use OpenAI Language Model
#'
#' Sends a request to the OpenAI API using the parameters in the `body`
#' Sends a request to the OpenAI API using the parameters in the `body`
#' argument. It requires an API key and model identifier set in the R options.
#'
#' @param body The body of the request.
Expand All @@ -277,7 +277,7 @@ use_openai_llm <- function(
) {

if (is.null(api_key) || is.null(model)) {
stop("OpenAI GPT model and API key are not set. ",
stop("OpenAI GPT model or API key are not set. ",
"Use the following options to set them:\n",
"minutemaker_openai_model_gpt, ",
"minutemaker_open_api_key options.")
Expand Down

0 comments on commit 0fdfe57

Please # to comment.