mirror of
https://github.com/ollama/ollama.git
synced 2025-03-29 11:11:47 +01:00
fix extended tag names
This commit is contained in:
parent
b8421dce3d
commit
9818af9763
@ -45,7 +45,7 @@ func ParseModelPath(name string) ModelPath {
|
||||
return ModelPath{}
|
||||
}
|
||||
|
||||
colonParts := strings.Split(name, ":")
|
||||
colonParts := strings.Split(slashParts[len(slashParts)-1], ":")
|
||||
if len(colonParts) == 2 {
|
||||
tag = colonParts[1]
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user