-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project templates before start create #52
Comments
Absolutely right. This would make things much easier. We need to take out the guess work and channel the system so we get the endresult we want. Any idea how to implement that? |
Yes, using the same concept already applied, but with an additional step beforehand. There would need to be another prompt to identify which template needs to be installed. Example: User: Create a Todo app with React and Vite. |
Working on a PR #266 which will allow you to start from a code template |
^^ Keep an eye on the above PR regarding templates, thanks @thecodacus for the work and also reminding me about the .bolt directory! |
closed the previous PR, as @wonderwhy-er suggested it would be better to have text based approach for for tool calling. |
I noticed that the original Bolt.new uses project templates with the entire basic structure according to the project type (React, Vite, Express, Vue) when it recognizes the required project type based on the prompt. This helps prevent errors, such as occasionally adding unnecessary or non-existent dependencies to the package.json. I believe this could be done directly in the prompt within app\lib.server\llm\prompts.ts.
An alternative would be to choose the project type (template) before starting the prompt. That way, the entire project base (Vite/React, Node Express, Vue, etc.) would be set up correctly, and then the user could proceed with their prompt.
The text was updated successfully, but these errors were encountered: