Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

fix modelfile message quotes

Michael Yangd87b4a488eaf
diff --git a/server/images.go b/server/images.go
index 24675783c..5f3eee88b 100644
--- a/server/images.go
+++ b/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),
})
}