You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing issues with bolt.diy when working on larger projects. As soon as my project starts to grow, bolt.diy becomes nearly unusable. Specifically:
For small projects (e.g., Astro or Qwik with fewer than 10 files), the tool works fine.
However, when the project size increases (e.g., Angular projects with more than 10 files), I encounter this error: AI_RetryError: Failed after 3 attempts. Last error: Request too large for gpt-4o in organization org-XXXX on tokens per min (TPM): Limit 30000, Requested 60847. The input or output tokens must be reduced in order to run successfully.
its a known problem and will be fixed with upcoming features like context optimization #1091.
Either you can checkout the PR and use Google Gemini 2.0 Flash which has 2M context size (and is free)
Describe the bug
Description
I am experiencing issues with
bolt.diy
when working on larger projects. As soon as my project starts to grow,bolt.diy
becomes nearly unusable. Specifically:Thank you for your support! 😊
Link to the Bolt URL that caused the error
https://bolt.diy/
Steps to reproduce
bolt.diy
and interact with it.Expected behavior
Expected Behavior
MAX_TOKENS
limit (8000 in this case) to avoid exceeding the token-per-minute limit for GPT-4o.Screen Recording / Screenshot
No response
Platform
Environment Details
Provider Used
open ai
Model Used
gpt-4o
Additional context
The error suggests that the request exceeds the token-per-minute (TPM) limit for GPT-4o.
Observed Issue
export const MAX_TOKENS = 8000
, it seems this limit is not being respected.Additional Information
MAX_TOKENS
constant is properly enforced.The text was updated successfully, but these errors were encountered: