Skip to main content

delete_local_llm

Function delete_local_llm 

Source
pub fn delete_local_llm(llms_dir: &Path, file_name: &str) -> Result<(), String>
Expand description

Delete a downloaded LLM by file name, confined to llms_dir. The name must be a bare file name (no separators) so a caller can’t escape the directory.