llama-stack-mirror/llama_stack/providers
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
..
inline feat(responses): implement usage tracking in streaming responses (#3771) 2025-10-10 12:27:03 -07:00
registry feat: Add support for Conversations in Responses API (#3743) 2025-10-10 11:57:40 -07:00
remote fix(mypy): fix wrong attribute access (#3770) 2025-10-10 09:30:43 -07:00
utils feat: use SecretStr for inference provider auth credentials (#3724) 2025-10-10 07:32:50 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00