Files
chen-985211 36b557b2e6 fix(codex): restore cached tool call fields (#4160)
* fix(codex): restore cached tool call fields

* refactor(codex): merge duplicate enrich loops in chat history

enrich_call_item_from_cache copied the fill-if-empty loop for
reasoning_content/reasoning. The two loops are identical and key
order is irrelevant, so fold both key sets into a single loop.

Pure refactor, no behavior change; codex_chat_history tests pass.

---------

Co-authored-by: Jason <farion1231@gmail.com>
36b557b2e6 · 2026-06-16 10:59:16 +08:00
History
..
2026-06-04 23:32:32 +08:00
2026-06-15 00:08:21 +08:00
2026-06-15 00:08:21 +08:00