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
59734ca2
Commit
59734ca2
authored
Aug 26, 2023
by
Michael Yang
Browse files
set default template
parent
2ecc3a33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
server/images.go
server/images.go
+3
-2
No files found.
server/images.go
View file @
59734ca2
...
@@ -163,8 +163,9 @@ func GetModel(name string) (*Model, error) {
...
@@ -163,8 +163,9 @@ func GetModel(name string) (*Model, error) {
}
}
model
:=
&
Model
{
model
:=
&
Model
{
Name
:
mp
.
GetFullTagname
(),
Name
:
mp
.
GetFullTagname
(),
Digest
:
manifest
.
Config
.
Digest
,
Digest
:
manifest
.
Config
.
Digest
,
Template
:
"{{ .Prompt }}"
,
}
}
for
_
,
layer
:=
range
manifest
.
Layers
{
for
_
,
layer
:=
range
manifest
.
Layers
{
...
...
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