Optional
savedFiles: CacheEntry[]List of all shards in the cache, sorted by original URL (ascending order)
Size in bytes (total size of all shards).
A value of -1 means the model is deleted from the cache. You must call ModelManager.downloadModel
to re-download the model.
URL to the GGUF file (in case it contains multiple shards, the URL should point to the first shard)
This URL will be used to identify the model in the cache. There can't be 2 models with the same URL.
In case the model is invalid, call this function to re-download the model
Validate the model files.
If the model is invalid, the model manager will not be able to use it. You must call refresh
to re-download the model.
Cases that model is invalid:
Model class
One model can have multiple shards, each shard is a GGUF file.