stackblitz / bolt.new

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

prompt is too long: 203621 tokens > 200000 maximum #2579

Closed ragsntatters closed 2 hours ago

ragsntatters commented 2 hours ago

Describe the bug

I open my project, I put in a simple prompt , it loads in allllllll the chat history and then hits me with: prompt is too long: 203621 tokens > 200000 maximum

This is nuts it's been almost a week now and it is unusable. When will this be fixed?

Link to the Bolt URL that caused the error

https://bolt.new/~/vitejs-vite-vvcafh

Steps to reproduce

Open the project Add prompt ERRROR

Expected behavior

For it to work

Screen Recording / Screenshot

No response

Platform

Browser name = Chrome
Full version = 132.0.0.0
Major version = 132
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 71221016,
  "usedJSHeapSize": 64110744,
  "jsHeapSizeLimit": 4294705152
}
Username = ragsntatters
Chat ID = 8c55a3c73cc3

Additional context

No response

ragsntatters commented 2 hours ago

I tried deleting all my chats but it doesn't delete them, they are still all there and still being fed into claude

endocytosis commented 2 hours ago

Appreciate the feedback! This a known issue with the AI model's context window size and is being tracked here: #1322.