mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 22:20:31 +08:00
OpenAICodexProvider._request_codex called consume_sse without an on_provider_event hook and built LLMResponse without usage, so Codex turns were counted as 0 tokens/cost. Collect the terminal usage event and attach it to the response, as the openai_compat Responses path already does. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>