stackblitz / webcontainer-core

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

Over Token Limit Error #1596

Open 4LPH4-0x3 opened 1 week ago

4LPH4-0x3 commented 1 week ago

Describe the bug

When submitting a prompt, I receive an error indicating that I've exceeded the 200,000 token limit. Reducing the prompt size, even by a single character, does not resolve the issue. Refreshing the page and re-uploading the project in a new chat also fail to fix the problem, though starting a brand new chat seems to work as expected.

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-3ymwtg?file=README.md

Steps to reproduce

https://stackblitz.com/edit/vitejs-vite-3ymwtg

Expected behavior

https://stackblitz.com/edit/vitejs-vite-3ymwtg

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 130.0.0.0
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 107361260,
  "usedJSHeapSize": 104074836,
  "jsHeapSizeLimit": 2160066560
}
Hash = f565b097

Additional context

No response