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 13:01:28 +08:00
2026-04-07 19:35:56 +08:00
2026-03-10 11:20:10 +08:00
2026-03-01 15:45:44 +08:00
2026-02-28 15:01:20 +08:00
2026-04-01 02:19:10 +08:00
2026-03-11 15:21:52 +08:00
2026-02-05 20:17:53 +08:00
2026-03-19 23:48:37 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 15:01:20 +08:00
2026-03-28 00:55:55 +08:00
2026-04-05 17:11:01 +08:00
2026-01-04 19:28:20 +08:00
2026-03-02 16:04:20 +08:00
2026-03-02 16:04:20 +08:00
2026-03-16 20:22:10 +08:00
2026-01-04 19:28:20 +08:00
2026-01-05 20:43:03 -06:00
2026-03-27 14:33:05 +08:00
2026-04-04 11:13:58 +08:00