Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
cmd: only print server version when different
Michael Yangcde13bcdeabe
diff --git a/cmd/cmd.go b/cmd/cmd.goindex 2fd5cacc8..db4c8f501 100644--- a/cmd/cmd.go+++ b/cmd/cmd.go@@ -1050,7 +1050,9 @@ func versionHandler(cmd *cobra.Command, _ []string) {return}- fmt.Printf("server version %s\n", serverVersion)+ if serverVersion != version.Version {+ fmt.Printf("ollama host version %s\n", serverVersion)+ }}func NewCLI() *cobra.Command {