"vscode:/vscode.git/clone" did not exist on "6028d58cb004dbfc0af61f17b9104fe037486d6d"
Commit 6bc5c137 authored by Vyacheslav Moskalev's avatar Vyacheslav Moskalev
Browse files

Fix extra context concatenation in generate handler (#5980).

parent 3e614260
......@@ -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
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment