Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
fix(openai): ensure Responses usage includes token detail fields master
- add shared `EnsureResponsesUsageDetails` helper to patch `usage` objects with: - `output_tokens_details.reasoning_tokens = 0` - `input_tokens_details.cached_tokens = 0` - for both plain JSON and SSE `data:` frames, including multi-line frames - apply the helper to OpenAI Response format outputs in non-stream and stream paths across executors/plugins so translated payloads consistently include required usage details - update websocket/completion payload builders to emit default `usage` detail fields for prewarm/finish responses Closes: #4985
Author Luis Pater Date (Aug 15, 2026, 7:00 AM UTC) Commit e0b49562 e0b4956242e5a428a459593a44cbb88fdb08cfbf Parent ac82bedf ac82bedfaf5b74e40f4530e3fcb61099cf6d582e