pub fn list_cached_json() -> Result<String, RuntimeError>Expand description
Every model in llama.cpp’s cache, as a JSON array of
{"repo","tag","name"} objects.
Returned as JSON rather than a typed struct so this does not pin a JSON dependency on the crate, and so upstream adding a field does not break the signature.
§Errors
Returns RuntimeError::Failed if the cache cannot be read.