Skip to content

Commit

Permalink
Make minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hauselin committed Aug 12, 2024
1 parent 8b65bb9 commit e03eb32
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ollamar
Title: 'Ollama' Language Models
Version: 1.1.1
Version: 1.2.0
Authors@R: c(
person("Hause", "Lin", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0003-4590-7039")),
Expand Down
3 changes: 2 additions & 1 deletion R/ollama.R
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,8 @@ pull <- function(name, stream = FALSE, insecure = FALSE, endpoint = "/api/pull",

#' Push or upload a model to a model library
#'
#' Requires registering for ollama.ai and adding a public key first.
#' @description
#' Push or upload a model to an Ollama model library. Requires registering for ollama.ai and adding a public key first.
#'
#' @param name A character string of the model name to upload, in the form of <namespace>/<model>:<tag>
#' @param insecure Allow insecure connections. Only use this if you are pushing to your own library during development. Default is FALSE.
Expand Down
3 changes: 3 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#' Test connection to Ollama server
#'
#' @description
#' `test_connection()` tests whether the Ollama server is running or not.
#'
#' @param url The URL of the Ollama server. Default is http://localhost:11434
#'
#' @return A httr2 response object.
Expand Down
2 changes: 1 addition & 1 deletion man/push.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/test_connection.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e03eb32

Please sign in to comment.