Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Fix extra context concatenation in generate handler (#5980).
Vyacheslav Moskalev6bc5c137581c
diff --git a/server/routes.go b/server/routes.goindex fb9b30911..b449136ea 100644--- a/server/routes.go+++ b/server/routes.go@@ -247,7 +247,7 @@ func (s *Server) GenerateHandler(c *gin.Context) {ch <- gin.H{"error": err.Error()}return}- res.Context = append(req.Context, tokens...)+ res.Context = tokens}}