Skip to content

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

convert commands to uppercase in parser

Jeffrey Morgan1f45f7bb524d
diff --git a/parser/parser.go b/parser/parser.go
index 48a1bc28b..698128b65 100644
--- a/parser/parser.go
+++ b/parser/parser.go
@@ -38,7 +38,7 @@ func Parse(reader io.Reader) ([]Command, error) {
}
command := Command{}
- switch fields[0] {
+ switch strings.ToUpper(fields[0]) {
case "FROM":
command.Name = "model"
command.Arg = fields[1]