fix: harden streaming chat persistence and access control

Persist streaming chat state during generator cleanup, close the SSE inner stream safely, and reject cross-user conversation access while locking the behavior with focused regressions.
This commit is contained in:
2026-04-02 21:49:53 +08:00
parent 4251a79062
commit b3f9b5e715
3 changed files with 1232 additions and 86 deletions

File diff suppressed because it is too large Load Diff