shaw
b2e379cf7a
fix: 非流式路径在上游终态事件output为空时从delta事件重建响应内容
上游API近期更新后,response.completed终态SSE事件的output字段可能为空,
实际内容仅通过response.output_text.delta等增量事件下发。流式路径不受影响,
但chat_completions非流式路径和responses OAuth非流式路径只依赖终态事件的
output,导致返回空响应。
新增BufferedResponseAccumulator累积器,在SSE扫描过程中收集delta事件内容
(文本、function_call、reasoning),当终态output为空时补充重建。
同时修复handleChatBufferedStreamingResponse遗漏response.done事件类型的问题。
2026-04-07 19:35:56 +08:00
..
2026-04-05 17:21:36 +08:00
2026-04-05 17:11:01 +08:00
2026-04-05 17:50:01 +08:00
2026-03-27 14:33:05 +08:00
2026-04-07 19:35:56 +08:00
2026-04-07 08:26:51 +08:00
2026-04-05 18:18:58 +08:00
2026-04-07 19:35:56 +08:00
2026-03-17 15:38:18 +08:00
2026-03-09 19:55:18 +08:00
2026-04-05 17:11:01 +08:00
2026-04-05 17:11:01 +08:00