瀏覽代碼

fix modelfile message quotes

Michael Yang 9 月之前
父節點
當前提交
d87b4a488e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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),
 		})
 	}