mirror of
https://github.com/ollama/ollama.git
synced 2025-05-04 18:50:19 +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{}
|
||||
}
|
||||
|
||||
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