Skip to content

Commit

Permalink
styler updates
Browse files Browse the repository at this point in the history
  • Loading branch information
edgararuiz committed Sep 29, 2024
1 parent 4f5a12c commit dc6095b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions R/m-backend-prompt.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ m_backend_prompt <- function(backend, additional) {
}

#' @export
m_backend_prompt.mall_llama3.2<- function(backend, additional = "") {
m_backend_prompt.mall_llama3.2 <- function(backend, additional = "") {
base_method <- NextMethod()
base_method$extract = function(labels) {
base_method$extract <- function(labels) {
no_labels <- length(labels)
col_labels <- paste0(labels, collapse = ", ")
plural <- ifelse(no_labels > 1, "s", "")
Expand Down
6 changes: 3 additions & 3 deletions R/m-defaults.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ m_defaults_set <- function(...) {
}
model <- defaults[["model"]]
split_model <- strsplit(model, "\\:")[[1]]
if(length(split_model > 1)) {
if (length(split_model > 1)) {
sub_model <- split_model[[1]]
} else {
sub_model <- NULL
}
obj_class <- clean_names(c(
model,
sub_model,
model,
sub_model,
defaults[["backend"]],
"session"
))
Expand Down

0 comments on commit dc6095b

Please sign in to comment.