mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 14:30:29 +00:00
fix: include cached tokens in tui
This commit is contained in:
parent
c8eb1b24c3
commit
c7bb7ce4de
3 changed files with 26 additions and 2 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue