Skip to main content

remove_cached

Function remove_cached 

Source
pub fn remove_cached(repo_with_tag: &str) -> Result<bool, RuntimeError>
Expand description

Delete a cached model. Returns whether anything was removed.

ยงErrors

Returns RuntimeError::Failed if llama.cpp throws, or RuntimeError::Nul for an interior NUL.