stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.93k stars 171 forks source link

Token Cap #1591

Open REBEL33Soul opened 2 weeks ago

REBEL33Soul commented 2 weeks ago

Describe the bug

Is there a way to increase the token cap in Bolt.new/Stackblitz? I am at the end of a build, starting to test and tweak then deploy, but I can't because of the cap. "prompt is too long: 206110 tokens > 200000 maximum". Also, Please fix the annoying issue of not being able to open a new chat and have Bolt say it can't access the previous build and can only start a new one, this is ridiculous. I have wasted so many tokens on this service for no reason. The engineers need to think like newbies instead of engineers. Ease of use and make things easy to find. User friendly.

Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-sghzqj?file=integrations.vscode.userData.settingsRaw

Steps to reproduce

Increase token limit.

Expected behavior

Jump right back in and work.

Parity with Local

Screenshots

prompt is too long: 206110 tokens > 200000 maximum

Platform

Browser name  = Safari
Full version  = 18.1
Major version = 18
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
performance.memory = undefined
Hash = 34c588ed

Additional context

Large projects and large connected projects like Suites.