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
6e46338d
Commit
6e46338d
authored
Nov 10, 2023
by
Daniel Reis
Browse files
Reverting previous changes
parent
d1773035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
server/images.go
server/images.go
+1
-2
No files found.
server/images.go
View file @
6e46338d
...
...
@@ -918,8 +918,7 @@ func ShowModelfile(model *Model) (string, error) {
mt
.
From
=
model
.
ModelPath
if
model
.
OriginalModel
!=
""
{
mp
:=
ParseModelPath
(
model
.
OriginalModel
)
mt
.
From
=
mp
.
GetShortTagname
()
mt
.
From
=
model
.
OriginalModel
}
modelFile
:=
`# Modelfile generated by "ollama show"
...
...
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