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
9658a504
Unverified
Commit
9658a504
authored
Jul 18, 2023
by
Patrick Devine
Committed by
GitHub
Jul 18, 2023
Browse files
skip files in the list if we can't get the correct model path (#100)
parent
280fbe80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server/routes.go
server/routes.go
+2
-2
No files found.
server/routes.go
View file @
9658a504
...
...
@@ -206,8 +206,8 @@ func list(c *gin.Context) {
mp
:=
ParseModelPath
(
tag
)
manifest
,
err
:=
GetManifest
(
mp
)
if
err
!=
nil
{
log
.
Printf
(
"
couldn't get manifest
: %
v
"
,
err
)
return
err
log
.
Printf
(
"
skipping file
: %
s
"
,
fp
)
return
nil
}
model
:=
api
.
ListResponseModel
{
Name
:
mp
.
GetShortTagname
(),
...
...
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