Browse Source

fix modelfile message quotes

Michael Yang 9 tháng trước cách đây
mục cha
commit
d87b4a488e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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),
 		})
 	}