"new-tutorial/large/L4_message_passing.py" did not exist on "dda103d9f6ff7c97b785575a8e753a130886a337"
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