Explorar el Código

fix modelfile message quotes

Michael Yang hace 9 meses
padre
commit
d87b4a488e
Se han modificado 1 ficheros con 1 adiciones y 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),
 		})
 	}