llama-stack-mirror/llama_stack/providers/inline/agents/meta_reference/responses
Ashwin Bharambe 1394403360
feat(responses): implement usage tracking in streaming responses (#3771)
Implementats usage accumulation to StreamingResponseOrchestrator. 

The most important part was to pass `stream_options = { "include_usage":
true }` to the chat_completion call. This means I will have to record
all responses tests again because request hash will change :)

Test changes:
- Add usage assertions to streaming and non-streaming tests
- Update test recordings with actual usage data from OpenAI
2025-10-10 12:27:03 -07:00
..
__init__.py chore(responses): Refactor Responses Impl to be civilized (#3138) 2025-08-15 00:05:35 +00:00
openai_responses.py feat: Add support for Conversations in Responses API (#3743) 2025-10-10 11:57:40 -07:00
streaming.py feat(responses): implement usage tracking in streaming responses (#3771) 2025-10-10 12:27:03 -07:00
tool_executor.py fix: add traces for tool calls and mcp tool listing (#3722) 2025-10-09 09:59:09 -07:00
types.py feat: reuse previous mcp tool listings where possible (#3710) 2025-10-10 09:28:25 -07:00
utils.py feat(responses)!: add in_progress, failed, content part events (#3765) 2025-10-10 07:27:34 -07:00