mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-19 16:40:48 +00:00
fix tokens
This commit is contained in:
parent
2fb59fee8e
commit
0791b077d7
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ func (m statusCmp) View() string {
|
|||
if message.Metadata.Assistant != nil {
|
||||
cost += message.Metadata.Assistant.Cost
|
||||
usage := message.Metadata.Assistant.Tokens
|
||||
tokens += (usage.Input + usage.Output + usage.Reasoning)
|
||||
tokens = (usage.Input + usage.Output + usage.Reasoning)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue