JianFeeeee
8157772132
fix(webui): sendChat 超时后 SSE 兜底渲染(对齐 GUI 模式)
问题:agent 长任务(159s)超过 15s ack 超时后,旧代码 return 导致
finally 清空 loading 并重置按钮,用户以为失败;SSE 回复虽到但
用户可能已离开/刷新页面。
修复(完全对齐 GUI renderer 的 sendChat 模式):
- 超时后 r=null 不 return,流程继续
- finally 总是清 loading + 恢复按钮(loading 只是 UI 提示)
- toast 明确提示「请求超时(可能已发送,请稍候勿重复发送)」
- r 有值则直接填充最终回复;r=null 则靠 SSE agent_output 流式渲染
2026-08-24 22:36:45 +08:00
..
2026-08-21 10:23:38 +08:00
2026-08-14 00:48:40 +08:00
2026-08-24 19:26:11 +08:00
2026-08-14 00:48:40 +08:00
2026-08-05 16:00:08 +08:00
2026-07-28 09:56:26 +08:00
2026-07-24 17:04:37 +08:00
2026-08-14 00:48:40 +08:00
2026-08-14 00:48:40 +08:00
2026-08-16 18:27:25 +08:00
2026-08-14 00:48:40 +08:00
2026-07-28 17:07:17 +08:00
2026-08-24 19:26:11 +08:00
2026-08-24 22:36:45 +08:00
2026-08-14 00:48:40 +08:00
2026-08-05 16:00:08 +08:00
2026-08-24 19:26:11 +08:00
2026-08-14 00:48:40 +08:00
2026-08-05 16:00:08 +08:00
2026-08-05 16:00:08 +08:00