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
83c6be16
Unverified
Commit
83c6be16
authored
Sep 06, 2023
by
Michael Yang
Committed by
GitHub
Sep 06, 2023
Browse files
fix model manifests (#477)
parent
1adfa675
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 @
83c6be16
...
@@ -115,7 +115,7 @@ func GetManifestPath() (string, error) {
...
@@ -115,7 +115,7 @@ func GetManifestPath() (string, error) {
}
}
path
:=
filepath
.
Join
(
home
,
".ollama"
,
"models"
,
"manifests"
)
path
:=
filepath
.
Join
(
home
,
".ollama"
,
"models"
,
"manifests"
)
if
err
:=
os
.
MkdirAll
(
filepath
.
Dir
(
path
)
,
0
o755
);
err
!=
nil
{
if
err
:=
os
.
MkdirAll
(
path
,
0
o755
);
err
!=
nil
{
return
""
,
err
return
""
,
err
}
}
...
...
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