llama-stack-mirror/llama_stack/providers/inline/agents/meta_reference
Ashwin Bharambe cfb86f1178 feat(responses): implement usage tracking in streaming responses
Implementation changes:
- Add usage accumulation to StreamingResponseOrchestrator
- Enable stream_options to receive usage in streaming chunks
- Track usage across multi-turn responses with tool execution
- Convert between chat completion and response usage formats
- Extract usage accumulation into helper method for clarity

Test changes:
- Add usage assertions to streaming and non-streaming tests
- Update test recordings with actual usage data from OpenAI
2025-10-10 10:13:33 -07:00
..
responses feat(responses): implement usage tracking in streaming responses 2025-10-10 10:13:33 -07:00
__init__.py fix: make telemetry optional for agents (#3705) 2025-10-07 16:09:03 +02:00
agent_instance.py chore: remove dead code (#3729) 2025-10-07 20:26:02 -07:00
agents.py fix: make telemetry optional for agents (#3705) 2025-10-07 16:09:03 +02: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