Skip to content

Commit

Permalink
spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-98 committed Dec 14, 2023
1 parent 5e1f9ef commit 0fc8b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/setupAgent.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ setupAgent<-function(name=c("openai","replicate"), type=NULL, model=NULL, ai_api
base_url ="https://api.openai.com/v1/chat/completions"
if (is.null(model)){
warning ("No model selected. Model will be set to gtp-3.5-turbo.")
model = "gtp-3.5-turbo"
model = "gpt-3.5-turbo"
}else if(!model%in% chatModels){
stop(paste("Invalid model selected. Please choose one of the following models:\n ",chatModels))
}
Expand Down

0 comments on commit 0fc8b19

Please sign in to comment.