mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 17:26:58 +01:00
null stream
This commit is contained in:
@@ -146,7 +146,7 @@ func (s *Server) CreateHandler(c *gin.Context) {
|
||||
ch <- api.ProgressResponse{Status: "success"}
|
||||
}()
|
||||
|
||||
if r.Stream != nil && !*r.Stream {
|
||||
if !r.Stream.Value(true) {
|
||||
waitForStream(c, ch)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user