Skip to content

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

cmd: add default err return for stop (#9458)

CYJiangd25efe395415
diff --git a/cmd/cmd.go b/cmd/cmd.go
index 80ece4c60..b4001a7f3 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -256,6 +256,7 @@ func StopHandler(cmd *cobra.Command, args []string) error {
if strings.Contains(err.Error(), "not found") {
return fmt.Errorf("couldn't find model \"%s\" to stop", args[0])
}
+ return err
}
return nil
}