Commit b4264be
committed
fix: complete span telemetry on shim and exhaustion terminals
The prompt-shim early return and the maxSteps-exhausted return now attach the same llm.usage.* and gen_ai.* root-span attribute pairs as the other generateText terminals; streamText's teardown block already covers its own paths. The usage-only stream sentinel reads service_tier through the typed StreamChunkExtras surface instead of inline casts. Refresh the agency example model.1 parent 7cb6197 commit b4264be
3 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1657 | 1657 | | |
1658 | 1658 | | |
1659 | 1659 | | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
1660 | 1667 | | |
1661 | 1668 | | |
1662 | 1669 | | |
| |||
2081 | 2088 | | |
2082 | 2089 | | |
2083 | 2090 | | |
| 2091 | + | |
2084 | 2092 | | |
2085 | 2093 | | |
2086 | 2094 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
1252 | 1252 | | |
1253 | 1253 | | |
1254 | 1254 | | |
1255 | | - | |
1256 | | - | |
| 1255 | + | |
| 1256 | + | |
1257 | 1257 | | |
1258 | 1258 | | |
1259 | 1259 | | |
| |||
0 commit comments