"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "061163142ded92425ef9d6aafabe34c6416806e1"
Unverified Commit 3e614260 authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #6109 from ollama/mxyng/fix-modelfile

fix modelfile message quotes
parents 4c14855a d87b4a48
...@@ -184,7 +184,7 @@ func (m *Model) String() string { ...@@ -184,7 +184,7 @@ func (m *Model) String() string {
for _, msg := range m.Messages { for _, msg := range m.Messages {
modelfile.Commands = append(modelfile.Commands, parser.Command{ modelfile.Commands = append(modelfile.Commands, parser.Command{
Name: "message", Name: "message",
Args: fmt.Sprintf("%s %s", msg.Role, msg.Content), Args: fmt.Sprintf("%s: %s", msg.Role, msg.Content),
}) })
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment