feat(agent): 云端创作助手 - 增加创作锚点、媒体准入与结构化分镜能力

This commit is contained in:
ddCat committed 2026-09-15 13:37:21 +08:00
1 parent 71a9a0e7f7
commit 788a298004
22 files changed
+1686 -60

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ func RegisterAgentRoutes(r *gin.RouterGroup, svc *service.Service) {
snapshot.Events = nil // Events were sent once above, never in every snapshot too.
writeAgentSSE(c, "run_snapshot", 0, &snapshot)
revision, lastWrite = run.Revision, time.Now()
if !run.CleanupPending && (run.Status == "completed" || run.Status == "failed" || run.Status == "cancelled") {
if !run.CleanupPending && (run.Status == "completed" || run.Status == "failed" || run.Status == "cancelled" || run.Status == "rejected") {
return
}
} else if time.Since(lastWrite) >= 15*time.Second {