-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting this msg no matter how I edit the latest prompt: prompt is too long: 205272 tokens > 199999 maximum #306
Comments
wtf are those backups? just download your code for versioning. if you put 10 versions of your app in the app code, that probably explain why it run out of tokens |
The issue here is that your project is to large for the AI. You need to keep the total project size smaller, or it will overwhelm the AI, and throw this error. More general usage tips are available in #678 |
Im still having this error, but I doubt the project is too large being the issue since even when i said "Hi" it gives me this prompt |
It is likely because the file system of the project is too large. More to come on this soon, but as a start, try to reduce the project size or break down the app into smaller components. This may be the best approach. If you're able to replicate this on a small project with very few files in the file system, please take a video with Loom and share it here so that we can troubleshoot. |
More info now available in #1322 where we are tracking this issue |
Describe the bug
I wonder if it relates to the length of the chat vs the length of the latest prompt?
Also, I don't seem to have gotten the additional tokens.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-hdgrt4
Steps to reproduce
enter even a single word prompt
Expected behavior
I was expecting to continue with refining this project
Screen Recording / Screenshot
Platform
-Chromebook running Chrome browser Version 126.0.6478.253 (Official Build) (64-bit)
Additional context
No response
The text was updated successfully, but these errors were encountered: