mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
b4f262c7bd
* fix(codex): always include output_tokens_details.reasoning_tokens in chat→responses transform Codex CLI strictly requires reasoning_tokens in the response.completed usage object. Custom providers using /chat/completions often omit completion_tokens_details, causing repeated parse failures and retries. * fix(codex): guard non-object completion_tokens_details before insertion --------- Co-authored-by: yeeyzy <yeeyzy@yangzhiying05@gmail.com>
b4f262c7bd
·
2026-06-03 14:10:28 +08:00
History