Explorar o código

fix modelfile message quotes

Michael Yang hai 9 meses
pai
achega
d87b4a488e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/images.go

+ 1 - 1
server/images.go

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