Skip to contents

Check if model is available locally

Usage

model_avail(model)

Arguments

model

A character string of the model name such as "llama3".

Value

A logical value indicating if the model exists.

Examples

if (FALSE) { # test_connection()$status_code == 200
model_avail("codegemma:7b")
model_avail("abc")
model_avail("llama3")
}