stackblitz / bolt.new

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

As a user I want to have project-wide prompt that is static and is sent with every inference call as part of the bigger prompt #536

Open ayalpani opened 1 month ago

ayalpani commented 1 month ago

Often bolt changes files I previously prompted it to NEVER DO. Or bolt forgets my prompted demands regarding code structure or libraries that are IN and libraries that are OUT or any other reasoning we previously had.

It would make everyone;s life much easier, if you'd allow me to have a "project-prompt" setting, where I can put some truths in that will be sent with every call to the OpenAI LLM.

Describe the solution you'd like:

Every Project also allows me to set a prompt that will be sent along every llm call

Describe alternatives you've considered:

There is none, really. I could ask bolt to write me a chrome extension that does the job for me ;)

jim80 commented 1 month ago

I think what you're describing is in .bolt/prompt ? But there is no easy way to change that, and changes do not seem to persist if you unload / refresh your project. Note you can read and write to it in a terminal using cat within a session. or load it in stackblitz and see it in the gui there