Keep active task transcripts in memory for instant task switching

This commit is contained in:
Ian Gulliver
2026-10-16 10:45:38 -07:00
parent 8200ffd17e
commit 91d95d0581
17 changed files with 252 additions and 84 deletions
+4
View File
@@ -74,6 +74,10 @@ func (s *Server) StreamEvents(w http.ResponseWriter, r *http.Request, params api
}
}
_, err := fmt.Fprint(w, "event: ready\ndata: ready\n\n")
if err != nil {
return
}
if rc.Flush() != nil {
return
}