| start_pull_job | R Documentation |
Spawns a callr::r_bg subprocess that streams progress from
Ollama's /api/pull endpoint into a progress file. The caller can
poll pull_job_status(model) for updates and pull_job_cancel(handle)
to abort.
start_pull_job(model, ollama_url = getOption("screenllm.ollama_url"))
model |
Ollama model tag (e.g. |
ollama_url |
Base URL of the Ollama server. |
Idempotent per-model within one R session: if a pull is already
running for model, returns the existing handle instead of
launching another.
A list with model, pid, handle, and progress_path.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.