Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
server: print version on start
Michael Yang1af493c5a085
diff --git a/server/routes.go b/server/routes.goindex fa7686142..637ba49f0 100644--- a/server/routes.go+++ b/server/routes.go@@ -26,6 +26,7 @@ import ("github.com/jmorganca/ollama/api""github.com/jmorganca/ollama/llm"+ "github.com/jmorganca/ollama/version")var mode string = gin.DebugMode@@ -588,7 +589,7 @@ func Serve(ln net.Listener, allowOrigins []string) error {r.Handle(method, "/api/tags", ListModelsHandler)}- log.Printf("Listening on %s", ln.Addr())+ log.Printf("Listening on %s (version %s)", ln.Addr(), version.Version)s := &http.Server{Handler: r,}