fix(ai): harden SSE stream error handling

- make chat SSE timeout configurable and default to 10 minutes

- stop upstream stream client when emitter send fails

- add full exception logging and frontend error notification on stream failures
This commit is contained in:
2026-02-25 18:55:20 +08:00
parent 58bd8b7ff1
commit 371b8cf891
4 changed files with 173 additions and 33 deletions

View File

@@ -70,6 +70,9 @@ spring:
enabled: true
easyflow:
chat:
# SSE 超时时间(毫秒),默认 10 分钟,可按需调整
sse-timeout-ms: 600000
# 语音播放、识别服务(阿里云)
audio:
type: aliAudioService