fix: include cached tokens in tui

This commit is contained in:
adamdottv
2025-06-16 12:59:38 -05:00
parent c8eb1b24c3
commit c7bb7ce4de
3 changed files with 26 additions and 2 deletions

View File

@@ -126,6 +126,10 @@ type MessageInfo struct {
Summary *bool `json:"summary,omitempty"`
System []string `json:"system"`
Tokens struct {
Cache struct {
Read float32 `json:"read"`
Write float32 `json:"write"`
} `json:"cache"`
Input float32 `json:"input"`
Output float32 `json:"output"`
Reasoning float32 `json:"reasoning"`