Merge pull request #6109 from ollama/mxyng/fix-modelfile
fix modelfile message quotes
This commit is contained in:
commit
3e614260af
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ func (m *Model) String() string {
|
|||
for _, msg := range m.Messages {
|
||||
modelfile.Commands = append(modelfile.Commands, parser.Command{
|
||||
Name: "message",
|
||||
Args: fmt.Sprintf("%s %s", msg.Role, msg.Content),
|
||||
Args: fmt.Sprintf("%s: %s", msg.Role, msg.Content),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue