Commit fca5346
docs: add missing assistant.usage event fields to streaming-events reference (#2074)
* docs: add missing assistant.usage event fields to streaming-events reference
The assistant.usage event table was missing 8 fields that are present
in the AssistantUsageData interface:
- reasoningTokens: reasoning/chain-of-thought token count
- timeToFirstTokenMs: streaming latency (first token)
- interTokenLatencyMs: streaming throughput (avg inter-token)
- contentFilterTriggered: content filter detection
- finishReason: model finish reason (stop/length/content_filter)
- reasoningEffort: reasoning effort level used
- cacheExpiresAt: prompt cache expiration timestamp
- serviceRequestId: server-side request ID for log correlation
Also update the quick-reference table at the end of the file to
include the key new fields.
* docs: correct assistant usage reference
Clarify that serviceRequestId identifies the Copilot service request and keep the event quick reference focused on its established key fields.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: j-zhangyiyuan <j-zhangyiyuan@microsoft.com>
Co-authored-by: Steve Sanderson <1101362+SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6371e3f commit fca5346
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
446 | 447 | | |
447 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
448 | 452 | | |
449 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
450 | 457 | | |
451 | 458 | | |
| 459 | + | |
452 | 460 | | |
453 | 461 | | |
454 | 462 | | |
| |||
0 commit comments