forked from third-party-mirrors/ollama
commit
eadee46840
@ -591,6 +591,10 @@ func DeleteModel(name string) error {
|
||||
return nil
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// only delete the files which are still in the deleteMap
|
||||
for k, v := range deleteMap {
|
||||
if v {
|
||||
|
Loading…
x
Reference in New Issue
Block a user