When using the code generation feature on www.bolt.new, the tool frequently truncates the generated code when writing to files. This results in incomplete code files that cause application crashes. Additionally, even after manually removing the truncated sections, the remaining code remains incomplete or broken. This issue disrupts the development workflow and incurs additional costs due to token-based billing for each incomplete generation attempt.
Describe the bug
When using the code generation feature on www.bolt.new, the tool frequently truncates the generated code when writing to files. This results in incomplete code files that cause application crashes. Additionally, even after manually removing the truncated sections, the remaining code remains incomplete or broken. This issue disrupts the development workflow and incurs additional costs due to token-based billing for each incomplete generation attempt.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-lyz8ng
Steps to reproduce
normal use
Expected behavior
normal use
Screen Recording / Screenshot
No response
Platform
Additional context
Error: