Sometimes, out of nowhere the code it writes it like this:
{/* Rest of the component remains the same */}
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
{/* ... existing content ... */}
</div>
</div>
);
}
Which renders the code useless, and then it's confused about the errors it gets.
Make sure it never comments anything out in code.
This has happened several times for me now, but only when i added the feature of switching currencies,
I tried making it clear that its not supposed to comment anything out, but it still did.
Prompt: It doesnt work, when i change currency, nothing happens, the numbers remain the same. Keep only the shortened abbreviation for example "EUR" "SEK", but remove the actual words for each currency, and add actual icon flags, small images, that represent the countries in which the currencies are used.
Review all code and make sure you havent left anything out.
I see that you think you can get away with commenting out code, never do it, it makes the whole program crash. NEVER COMMENT ANYTHING OUT.
Output: Proceeds to give code with comments. Gets error because code it incomplete, fixes it.
Expected behavior
Doesn't always write all code, maybe its because of it thinking that the context window is shorter than it actually is?
Screen Recording / Screenshot
Platform
Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 130713116,
"usedJSHeapSize": 103544048,
"jsHeapSizeLimit": 4294705152
}
Username = JuliusDM
Chat ID = e183fb1fbbb8
Describe the bug
Sometimes, out of nowhere the code it writes it like this:
); }
Which renders the code useless, and then it's confused about the errors it gets. Make sure it never comments anything out in code.
This has happened several times for me now, but only when i added the feature of switching currencies, I tried making it clear that its not supposed to comment anything out, but it still did.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-dr2xve
Steps to reproduce
Prompt: It doesnt work, when i change currency, nothing happens, the numbers remain the same. Keep only the shortened abbreviation for example "EUR" "SEK", but remove the actual words for each currency, and add actual icon flags, small images, that represent the countries in which the currencies are used.
Review all code and make sure you havent left anything out. I see that you think you can get away with commenting out code, never do it, it makes the whole program crash. NEVER COMMENT ANYTHING OUT. Output: Proceeds to give code with comments. Gets error because code it incomplete, fixes it.
Expected behavior
Doesn't always write all code, maybe its because of it thinking that the context window is shorter than it actually is?
Screen Recording / Screenshot
Platform
Additional context
I hope you can solve this!