Description
IMPORTANT: issue only on desktop app and not on TUI
when there is a long session of messages, the total cost only shows the loaded messages costs. to see the actual total cost of the session one needs to scroll all they way up to the first message in the session to see the actual total cost.
Plugins
no plugins
OpenCode version
1.15.7
Steps to reproduce
1- have a long session of messages so that they are not all loaded in the session
2- close the session and reopen after creating the long session
3- take a look at the cost
4- load the rest of the messages by scrolling up
5- you will see that total cost has been increased
Screenshot and/or share link
before scrolling up in the same session:
after scrolling up in the same session:
Operating System
Windows 11
Terminal
Windows Terminal (for TUI), and Desktop App
Description
IMPORTANT: issue only on desktop app and not on TUI
when there is a long session of messages, the total cost only shows the loaded messages costs. to see the actual total cost of the session one needs to scroll all they way up to the first message in the session to see the actual total cost.
Plugins
no plugins
OpenCode version
1.15.7
Steps to reproduce
1- have a long session of messages so that they are not all loaded in the session
2- close the session and reopen after creating the long session
3- take a look at the cost
4- load the rest of the messages by scrolling up
5- you will see that total cost has been increased
Screenshot and/or share link
before scrolling up in the same session:
after scrolling up in the same session:
Operating System
Windows 11
Terminal
Windows Terminal (for TUI), and Desktop App