fix modelfile message quotes

This commit is contained in:
Michael Yang 2024-07-31 16:52:09 -07:00
parent 4c14855ad7
commit d87b4a488e

View file

@ -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),
}) })
} }