Skip to content
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

Bug: "prompt is too long: 210085 tokens > 199999 maximum" Error on Simple Operations #1047

Closed
gboross opened this issue Oct 28, 2024 · 3 comments

Comments

@gboross
Copy link

gboross commented Oct 28, 2024

Describe the bug

I'm experiencing a persistent issue in the bolt.new project where the application consistently throws an error related to prompt length, even when performing simple tasks. This issue is occurring despite the project's large size, which previously did not present this problem.

Link to the Bolt URL that caused the error

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

Steps to reproduce

Navigate to [specific section or feature] in the application.
Perform [specific action, e.g., "generate a simple translation" or "render a basic component"].
Observe the error message in the console or UI.

Expected behavior

The operation should execute successfully without exceeding the prompt token limit.

Screen Recording / Screenshot

No response

Platform

Browser name = Chrome
Full version = 129.0.0.0
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 83662710,
  "usedJSHeapSize": 65957618,
  "jsHeapSizeLimit": 4294705152
}
Username = gboros
Chat ID = effe9401173f

Additional context

No response

@rryati20
Copy link

Have the same issue after 3 days of working on my project.

@CISOMarketplace
Copy link

Same with my project and it nuked millions of tokens before realizing, i have a ticket open from last night

@kc0tlh
Copy link
Collaborator

kc0tlh commented Nov 1, 2024

@gboross @rryati20 @CISOMarketplace thanks for your report, and appreciate your patience as we are a small team working to support all of the new users! The context on this error, workaround ideas, and future updates on the R&D we are doing on this issue are being tracked in #1322 going forward so please go subscribe there!

@kc0tlh kc0tlh closed this as completed Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants