null stream

This commit is contained in:
Michael Yang
2025-08-23 13:28:12 -07:00
parent e914477bb6
commit c457628090
9 changed files with 82 additions and 87 deletions

View File

@@ -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
}