Commit 52e0272
refactor: inline
The `msg = raw.get("message", {})` local was read exactly once on the
next line as `msg.get("usage")`. Reading `raw.get("message", {}).get("usage")`
directly matches the chained-get style already used in
`_iter_content_blocks` and the inline-alias style established by 497c028
(`agent`) and fc5e1cb (`total_in`).
Co-authored-by: Ralphify <noreply@ralphify.co>msg alias in _apply_assistant
1 parent 0db6841 commit 52e0272
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | 486 | | |
489 | | - | |
| 487 | + | |
490 | 488 | | |
491 | 489 | | |
492 | 490 | | |
| |||
0 commit comments