- [Real-Time Event Header Retention & Instant TTFT Rendering Fix]:
- Retain Response Headers in Event Broadcast: Fixed an issue where
ProxyRequestLog::summarystrippedresponse_headersduring real-time event broadcasting, preventing the frontend from extractingX-Timing-Ttft-Msdynamically and causing first-token metrics to show as empty ("-") until the view was refreshed. - Lightweight Real-Time Delivery: Kept heavy request and response bodies stripped while retaining lightweight response headers, ensuring zero IPC latency while rendering first-token timings instantly upon request completion.
- Retain Response Headers in Event Broadcast: Fixed an issue where
- [实时流量日志响应头保全与首字延迟秒级即显修复]:
- 实时通知保留响应头透传: 修复
ProxyRequestLog::summary在广播轻量化事件时误将response_headers清空,导致前端通过 SSE/Tauri 事件实时接收新日志时无法提取X-Timing-Ttft-Ms、盯住屏幕首字显示为空白(-)直到切回页面才刷出的问题。 - 极轻开销保全实时体验: 仅透传轻量级响应头字典,保持巨型
request_body与response_body剥离以维持广播极致轻快,实现首字延迟在生成瞬间 100% 毫秒级即刻渲染。
- 实时通知保留响应头透传: 修复
Full Changelog: v4.9.8-beta.3...v4.9.8-beta.4