MCPcopy Create free account
hub / github.com/aurora-develop/aurora / writeImageStreamDone

Function writeImageStreamDone

initialize/handlers.go:879–885  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

877}
878
879func writeImageStreamDone(c *gin.Context) bool {
880 if _, err := c.Writer.WriteString("data: [DONE]\n\n"); err != nil {
881 return false
882 }
883 c.Writer.Flush()
884 return true
885}
886
887// requestStreamFlag 解析 stream 参数,支持 JSON body 的 stream 字段或 ?stream=true 查询参数。
888// multipart/form-data 也支持 stream 字段(字符串 "true"/"1")。

Callers 2

imageGenerationsMethod · 0.85
runImageEditFlowMethod · 0.85

Calls 1

FlushMethod · 0.80

Tested by

no test coverage detected