mirror of
https://github.com/ollama/ollama.git
synced 2025-07-17 01:12:52 +02:00
@ -591,6 +591,10 @@ func DeleteModel(name string) error {
|
|||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
// only delete the files which are still in the deleteMap
|
// only delete the files which are still in the deleteMap
|
||||||
for k, v := range deleteMap {
|
for k, v := range deleteMap {
|
||||||
if v {
|
if v {
|
||||||
|
Reference in New Issue
Block a user