stackblitz / bolt.new

Prompt, run, edit, and deploy full-stack web applications
https://bolt.new
MIT License
4.29k stars 506 forks source link

Context, memory and changelog #423

Open spoeken opened 2 hours ago

spoeken commented 2 hours ago

Describe the bug

Revisions: It's hard to know exactly what is going on here, but It seems that the prompt does not have access to recent changes. This makes it a super frustrating experience, where I do changes in the code and then on the next prompt the ai overwrites all the work I have done. It is also not possible to commit changes and revert the sometimes insane changes the ai does. When I asked it to read back a variable from a file, it gave an old value, I asked it to check again and it said the same. When I then asked it to tell me the time of the last change it suddenly realised there was a newer version of the file.

Memory: The model seems to ignore our previous conversation. I had just managed to convince it that the correct rotation of an element was Math.PI and not -Math.PI, it took some effort to make it understand that, but it finally did. But then in the next prompt it insisted that the wrong rotation was the correct one, and without asking it makes a lot of changes to the code and by that deleting a lot of working code.

In general it seems to be brute forcing its way forward, being really inconsiderate of the work that has been done and destroying a lot of work in its path. This results in a very frustrating experience, where you constantly have to redo what you already have spend a lot of time fixing. I have also tried to give instructions to ask before doing changes to a file, but without memory or context that means I have to include it in every prompt.

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-2beet3

Steps to reproduce

You really just have to use the software and try to make something a bit more complex than a one-pager.

Expected behavior

Not destroying everything in ints path. Be considerate of resent changes. Remember previous instructions. Ask before doing changes. Be able to commit and reverse changes. (I guess this should be a feature request)

Screen Recording / Screenshot

No response

Platform

Additional context

No response

spoeken commented 1 hour ago

I see there is a feature request for reverting changes: https://github.com/stackblitz/bolt.new/issues/35