-
Couldn't load subscription status.
- Fork 2.2k
Bug fix/3322 web and tui report token usage differently #3405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: opentui
Are you sure you want to change the base?
Bug fix/3322 web and tui report token usage differently #3405
Conversation
- Add requestTokens calculation to show total tokens used in session - Display total token count in sidebar alongside existing metrics - Update .gitignore to exclude .serena/ directory
…ting; surface in Share UI; add tests and docs
|
hm I dont thinking making the tui super verbose is ideal. I didn't look into the issue enough what was the issue? |
The issue is that people think that the counts on the web share ui and the counts on the tui ui mean the same thing, and that they are different makes them think that the tui is misreporting their token usage. The tui reports context size, the share ui reports API token usage. Yea, I wasn't really sure how you all wanted to address this, because from what I could tell neither of the two numbers are "wrong" But people are misunderstanding what they mean. I just made a utility that could get all the metrics, and the web and the tui both use that utility to display the information. |
addresses #3322
Summary of Changes Since
opentuiBranchThe main focus has been on standardizing token usage metrics across the TUI and Web interfaces:
Key Changes:
Visual design