Skip to content

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

fix impossible condition

Michael Yang58ffa03d8bdd
diff --git a/cmd/cmd.go b/cmd/cmd.go
index d2cf3f30c..a091cb921 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -114,10 +114,6 @@ func RunHandler(cmd *cobra.Command, args []string) error {
}
mp := server.ParseModelPath(args[0])
- if err != nil {
- return err
- }
-
if mp.ProtocolScheme == "http" && !insecure {
return fmt.Errorf("insecure protocol http")
}