stackblitz / bolt.new

Prompt, run, edit, and deploy full-stack web applications
https://bolt.new
MIT License
8.81k stars 3.47k forks source link

Token usage #3038

Open lib254 opened 3 days ago

lib254 commented 3 days ago

Describe the bug

I just create only one file of about 40 lines and my token jump from 2.2M to 2.1M how?? And all this states below the 5M token mark. Before that token usage was a bit accurate

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-z1frcr

Steps to reproduce

Just generate a single file

Expected behavior

The token usage is not okay

Screen Recording / Screenshot

No response

Platform

Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 70919129,
  "usedJSHeapSize": 48960817,
  "jsHeapSizeLimit": 1098907648
}
Username = lib254
Chat ID = c0cf75950031

Additional context

No response

lib254 commented 3 days ago

They need to improve on their token usage, it's somehow not correct