mirror of
https://github.com/ollama/ollama.git
synced 2025-05-05 08:00:25 +02:00
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{}
|
return ModelPath{}
|
||||||
}
|
}
|
||||||
|
|
||||||
colonParts := strings.Split(name, ":")
|
colonParts := strings.Split(slashParts[len(slashParts)-1], ":")
|
||||||
if len(colonParts) == 2 {
|
if len(colonParts) == 2 {
|
||||||
tag = colonParts[1]
|
tag = colonParts[1]
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user