Skip to content

Commit 227e780

Browse files
author
Mateusz
committed
fix(codex): propagate envelope usage through legacy chat controller conversion paths
- Capture response.usage before content schema conversion in chat controller - Thread envelope usage into _ensure_openai_chat_schema for tool-call, parsed-content, and plain-text fallback branches - Remove hardcoded zero-usage fallback dicts that masked real usage data - Add regression test verifying usage survives ChatController passthrough - Extend demo script to prove ChatController legacy path preserves usage - Fix type annotations in usage summary test and demo processor interface
1 parent 92dae1c commit 227e780

4 files changed

Lines changed: 503 additions & 32 deletions

File tree

0 commit comments

Comments
 (0)