Skip to content

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

add basic `/` route for server

Jeffrey Morgan74e92d1258db
diff --git a/server/routes.go b/server/routes.go
index 684bfcf79..47db78a23 100644
--- a/server/routes.go
+++ b/server/routes.go
@@ -125,6 +125,10 @@ func generate(c *gin.Context) {
func Serve(ln net.Listener) error {
r := gin.Default()
+ r.GET("/", func(c *gin.Context) {
+ c.String(http.StatusOK, "Ollama is running")
+ })
+
r.POST("api/pull", func(c *gin.Context) {
var req api.PullRequest
if err := c.ShouldBindJSON(&req); err != nil {