Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
cmd: add missing file close in tests (#10179)
CYJiang64a9cc8f05c4
diff --git a/cmd/cmd_test.go b/cmd/cmd_test.goindex e6a542d09..367a35b6b 100644--- a/cmd/cmd_test.go+++ b/cmd/cmd_test.go@@ -415,6 +415,7 @@ func TestGetModelfileName(t *testing.T) {if err != nil {t.Fatalf("temp modelfile creation failed: %v", err)}+ defer tempFile.Close()expectedFilename = tempFile.Name()err = cmd.Flags().Set("file", expectedFilename)