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

Prompt To Long on a simple sentence draining tokens #1025

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

Prompt To Long on a simple sentence draining tokens #1025

CISOMarketplace opened this issue Oct 28, 2024 · 3 comments

Comments

@CISOMarketplace
Copy link

Describe the bug

I am typing a simple error fix as it's stuck in some kind of loop where it starts to fix a file but then half way through it just stops and errors out.

Now i'm just getting prompt is too long: 200223 tokens > 199999 maximum error time and it's draining me 200,000 tokens at a clip.

Link to the Bolt URL that caused the error

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

Steps to reproduce

All i'm doing is typing a prompt to fix the error that it go itself in from some kind of error looping then it just says my prompt is to long when all i'm doing is telling to fix the error code or sometime adding screenshot to help diagnose

Expected behavior

It should be finishing editing as it edits the entire code within a file. instead of stopping half way through to error out fixing the half way written code

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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 91695379,
  "usedJSHeapSize": 81675999,
  "jsHeapSizeLimit": 2172649472
}
Username = cisomarketplace
Chat ID = e9d8051c88d0

Additional context

No response

@CISOMarketplace
Copy link
Author

wow I want a couple million tokens in refund because now i'm just getting: Deploy Application Button to prompt is too long: 200765 tokens > 199999 maximum

@kevinnkansah

This comment was marked as spam.

@kc0tlh
Copy link
Collaborator

kc0tlh commented Nov 1, 2024

@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!

Please reach out to [email protected] with a specific request around credit!

@kc0tlh kc0tlh closed this as completed Nov 1, 2024
wonderwhy-er pushed a commit to wonderwhy-er/bolt.myaibuilt.app_hosted-Bolt.New-oTToDev that referenced this issue Jan 9, 2025
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

3 participants