lbyxiaolizi
401dd43b4b
fix(apicompat): 链式工具调用回放本轮 reasoning_content
codex 0.147.0 真实 resume 历史复现:DeepSeek 每轮只在开头流式产生一次
reasoning,reasoning → call A → output A → call B 的链式调用中 call B 前
没有 reasoning item,其 assistant 消息缺 reasoning_content,DeepSeek
thinking mode 400 整个历史。
buildChatMessagesFromItems 新增 lastTurnReasoning:记录本轮最近一次
reasoning,跨 tool output 存活,仅被 user 侧 item 清除;assistant 消息
(文本或 tool_calls)在 pendingReasoning 为空时回放本轮 reasoning。
2026-08-17 18:51:17 +08:00
..
2026-08-15 10:37:51 +00:00
2026-08-15 10:37:51 +00:00
2026-08-15 10:37:51 +00:00
2026-07-27 15:12:51 +08:00
2026-08-06 14:10:41 +08:00
2026-08-17 18:51:17 +08:00
2026-07-25 12:51:20 +08:00
2026-08-17 16:48:36 +08:00
2026-08-03 17:38:04 +08:00
2026-08-15 10:37:51 +00:00
2026-08-17 16:48:36 +08:00
2026-07-27 17:08:41 +08:00
2026-08-17 16:48:36 +08:00
2026-07-18 00:24:06 +08:00