Skip to content

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

fix route

Michael Yang31590284a7bc
diff --git a/server/routes.go b/server/routes.go
index d93a79fc2..7acb996fc 100644
--- a/server/routes.go
+++ b/server/routes.go
@@ -147,7 +147,7 @@ func Serve(ln net.Listener) error {
c.String(http.StatusOK, "Ollama is running")
})
- r.POST("api/pull", pull)
+ r.POST("/api/pull", pull)
r.POST("/api/generate", generate)
log.Printf("Listening on %s", ln.Addr())