Commit 4d3fc1b
authored
Token count extraction in _post_process_async was gated behind
`span is not None or metrics_enabled`, so mot.usage was never
populated in plain (non-telemetry) runs. Now extracted unconditionally
— usage is a standard mot field, not a telemetry concern.
1 parent 224d14f commit 4d3fc1b
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | | - | |
1137 | 1136 | | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
| 1137 | + | |
1141 | 1138 | | |
1142 | 1139 | | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
| 1140 | + | |
1148 | 1141 | | |
1149 | 1142 | | |
1150 | 1143 | | |
1151 | 1144 | | |
1152 | 1145 | | |
1153 | 1146 | | |
1154 | 1147 | | |
1155 | | - | |
1156 | 1148 | | |
1157 | 1149 | | |
1158 | 1150 | | |
| |||
0 commit comments