llama-stack-mirror/llama_stack/providers/inline/agents/meta_reference
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
..
responses feat(responses): implement usage tracking in streaming responses (#3771) 2025-10-10 12:27:03 -07:00
__init__.py feat: Add support for Conversations in Responses API (#3743) 2025-10-10 11:57:40 -07:00
agent_instance.py chore: remove dead code (#3729) 2025-10-07 20:26:02 -07:00
agents.py feat: Add support for Conversations in Responses API (#3743) 2025-10-10 11:57:40 -07:00
config.py feat: add list responses API (#2233) 2025-05-23 13:16:48 -07:00
persistence.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00
safety.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00