Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fix keep alive
Michael Yang35ac4eb12c35
diff --git a/server/routes.go b/server/routes.goindex 21a1b2b3d..343411b92 100644--- a/server/routes.go+++ b/server/routes.go@@ -1777,7 +1777,7 @@ func (s *Server) ChatHandler(c *gin.Context) {}// expire the runner- if len(req.Messages) == 0 && req.KeepAlive != nil && int(req.KeepAlive.Seconds()) == 0 {+ if len(req.Messages) == 0 && req.KeepAlive != nil && req.KeepAlive.Duration == 0 {s.sched.expireRunner(m)c.JSON(http.StatusOK, api.ChatResponse{