Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
3b43cc01
Unverified
Commit
3b43cc01
authored
Jul 21, 2023
by
Patrick Devine
Committed by
GitHub
Jul 21, 2023
Browse files
fix extended tag names (#171)
parent
b8421dce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/modelpath.go
server/modelpath.go
+1
-1
No files found.
server/modelpath.go
View file @
3b43cc01
...
@@ -45,7 +45,7 @@ func ParseModelPath(name string) ModelPath {
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment