forked from third-party-mirrors/ollama
fix extended tag names (#171)
This commit is contained in:
parent
b8421dce3d
commit
3b43cc019a
@ -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