mirror of
https://github.com/ollama/ollama.git
synced 2025-12-11 19:41:51 +01:00
fix list models for windows
This commit is contained in:
@@ -46,7 +46,7 @@ func ParseModelPath(name string) ModelPath {
|
||||
name = after
|
||||
}
|
||||
|
||||
parts := strings.Split(name, "/")
|
||||
parts := strings.Split(name, string(os.PathSeparator))
|
||||
switch len(parts) {
|
||||
case 3:
|
||||
mp.Registry = parts[0]
|
||||
|
||||
Reference in New Issue
Block a user