Commit ee5a82e
fix: Restore result.metrics.tokens in provider README quick-start examples
LDAIMetricSummary's token field is `tokens`, not `usage` (verified at
packages/sdk/server-ai/src/ldai/tracker.py — the `@property def tokens`
on LDAIMetricSummary). The earlier change to `.usage` was a regression
based on an unverified asymmetry claim; reverting.
Refs AIC-2383
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2b42121 commit ee5a82e
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments