You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FAQ.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,18 @@
2
2
3
3
# bolt.diy
4
4
5
+
## Recommended Models for bolt.diy
6
+
7
+
For the best experience with bolt.diy, we recommend using the following models:
8
+
9
+
-**Claude 3.5 Sonnet (old)**: Best overall coder, providing excellent results across all use cases
10
+
-**Gemini 2.0 Flash**: Exceptional speed while maintaining good performance
11
+
-**GPT-4o**: Strong alternative to Claude 3.5 Sonnet with comparable capabilities
12
+
-**DeepSeekCoder V2 236b**: Best open source model (available through OpenRouter, DeepSeek API, or self-hosted)
13
+
-**Qwen 2.5 Coder 32b**: Best model for self-hosting with reasonable hardware requirements
14
+
15
+
**Note**: Models with less than 7b parameters typically lack the capability to properly interact with bolt!
16
+
5
17
## FAQ
6
18
7
19
### How do I get the best results with bolt.diy?
@@ -34,14 +46,18 @@ We have seen this error a couple times and for some reason just restarting the D
34
46
35
47
We promise you that we are constantly testing new PRs coming into bolt.diy and the preview is core functionality, so the application is not broken! When you get a blank preview or don’t get a preview, this is generally because the LLM hallucinated bad code or incorrect commands. We are working on making this more transparent so it is obvious. Sometimes the error will appear in developer console too so check that as well.
36
48
37
-
### How to add a LLM:
49
+
### Everything works but the results are bad
38
50
39
-
To make new LLMs available to use in this version of bolt.new, head on over to `app/utils/constants.ts`and find the constant MODEL_LIST. Each element in this array is an object that has the model ID for the name (get this from the provider's API documentation), a label for the frontend model dropdown, and the provider.
51
+
This goes to the point above about how local LLMs are getting very powerful but you still are going to see better (sometimes much better) results with the largest LLMs like GPT-4o, Claude 3.5 Sonnet, and DeepSeek Coder V2 236b. If you are using smaller LLMs like Qwen-2.5-Coder, consider it more experimental and educational at this point. It can build smaller applications really well, which is super impressive for a local LLM, but for larger scale applications you want to use the larger LLMs still!
40
52
41
-
By default, Anthropic, OpenAI, Groq, and Ollama are implemented as providers, but the YouTube video for this repo covers how to extend this to work with more providers if you wish!
53
+
### Received structured exception #0xc0000005: access violation
42
54
43
-
When you add a new model to the MODEL_LIST array, it will immediately be available to use when you run the app locally or reload it. For Ollama models, make sure you have the model installed already before trying to use it here!
55
+
If you are getting this, you are probably on Windows. The fix is generally to update the [Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
44
56
45
-
### Everything works but the results are bad
57
+
### How to add an LLM:
46
58
47
-
This goes to the point above about how local LLMs are getting very powerful but you still are going to see better (sometimes much better) results with the largest LLMs like GPT-4o, Claude 3.5 Sonnet, and DeepSeek Coder V2 236b. If you are using smaller LLMs like Qwen-2.5-Coder, consider it more experimental and educational at this point. It can build smaller applications really well, which is super impressive for a local LLM, but for larger scale applications you want to use the larger LLMs still!
59
+
To make new LLMs available to use in this version of bolt.new, head on over to `app/utils/constants.ts` and find the constant MODEL_LIST. Each element in this array is an object that has the model ID for the name (get this from the provider's API documentation), a label for the frontend model dropdown, and the provider.
60
+
61
+
By default, many providers are already implemented, but the YouTube video for this repo covers how to extend this to work with more providers if you wish!
62
+
63
+
When you add a new model to the MODEL_LIST array, it will immediately be available to use when you run the app locally or reload it.
Copy file name to clipboardExpand all lines: README.md
+31-43Lines changed: 31 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,32 @@
1
-
[](https://bolt.diy)
2
-
3
1
# bolt.diy (Previously oTToDev)
2
+
[](https://bolt.diy)
4
3
5
4
Welcome to bolt.diy, the official open source version of Bolt.new (previously known as oTToDev and bolt.new ANY LLM), which allows you to choose the LLM that you use for each prompt! Currently, you can use OpenAI, Anthropic, Ollama, OpenRouter, Gemini, LMStudio, Mistral, xAI, HuggingFace, DeepSeek, or Groq models - and it is easily extended to use any other model supported by the Vercel AI SDK! See the instructions below for running this locally and extending it to include more models.
6
5
7
-
Check the [bolt.diy Docs](https://stackblitz-labs.github.io/bolt.diy/) for more information. This documentation is still being updated after the transfer.
6
+
Check the [bolt.diy Docs](https://stackblitz-labs.github.io/bolt.diy/) for more information.
7
+
8
+
We have also launched an experimental agent called the "bolt.diy Expert" that can answer common questions about bolt.diy. Find it here on the [oTTomator Live Agent Studio](https://studio.ottomator.ai/).
8
9
9
10
bolt.diy was originally started by [Cole Medin](https://www.youtube.com/@ColeMedin) but has quickly grown into a massive community effort to build the BEST open source AI coding assistant!
10
11
11
-
## Join the community for bolt.diy!
12
+
## Table of Contents
13
+
14
+
-[Join the Community](#join-the-community)
15
+
-[Requested Additions](#requested-additions)
16
+
-[Features](#features)
17
+
-[Setup](#setup)
18
+
-[Run the Application](#run-the-application)
19
+
-[Available Scripts](#available-scripts)
20
+
-[Contributing](#contributing)
21
+
-[Roadmap](#roadmap)
22
+
-[FAQ](#faq)
23
+
24
+
## Join the community
12
25
13
-
https://thinktank.ottomator.ai
26
+
[Join the bolt.diy community here, in the thinktank on ottomator.ai!](https://thinktank.ottomator.ai)
14
27
15
28
16
-
## Requested Additions - Feel Free to Contribute!
29
+
## Requested Additions
17
30
18
31
- ✅ OpenRouter Integration (@coleam00)
19
32
- ✅ Gemini Integration (@jonathands)
@@ -60,7 +73,7 @@ https://thinktank.ottomator.ai
60
73
- ⬜ Perplexity Integration
61
74
- ⬜ Vertex AI Integration
62
75
63
-
## bolt.diy Features
76
+
## Features
64
77
65
78
-**AI-powered full-stack web development** directly in your browser.
66
79
-**Support for multiple LLMs** with an extensible architecture to integrate additional models.
@@ -70,7 +83,7 @@ https://thinktank.ottomator.ai
70
83
-**Download projects as ZIP** for easy portability.
71
84
-**Integration-ready Docker support** for a hassle-free setup.
72
85
73
-
## Setup bolt.diy
86
+
## Setup
74
87
75
88
If you're new to installing software from GitHub, don't worry! If you encounter any issues, feel free to submit an "issue" using the provided links or improve this documentation by forking the repository, editing the instructions, and submitting a pull request. The following instruction will help you get the stable branch up and running on your local machine in no time.
76
89
@@ -95,34 +108,6 @@ Clone the repository using Git:
Most environment variables can be configured directly through the settings menu of the application. However, if you need to manually configure them:
101
-
102
-
1. Rename `.env.example` to `.env.local`.
103
-
2. Add your LLM API keys. For example:
104
-
105
-
```env
106
-
GROQ_API_KEY=YOUR_GROQ_API_KEY
107
-
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
108
-
ANTHROPIC_API_KEY=YOUR_ANTHROPIC_API_KEY
109
-
```
110
-
111
-
**Note**: Ollama does not require an API key as it runs locally.
112
-
113
-
3. Optionally, set additional configurations:
114
-
115
-
```env
116
-
# Debugging
117
-
VITE_LOG_LEVEL=debug
118
-
119
-
# Ollama settings (example: 8K context, localhost port 11434)
120
-
OLLAMA_API_BASE_URL=http://localhost:11434
121
-
DEFAULT_NUM_CTX=8192
122
-
```
123
-
124
-
**Important**: Do not commit your `.env.local` file to version control. This file is already included in`.gitignore`.
125
-
126
111
---
127
112
128
113
## Run the Application
@@ -155,27 +140,30 @@ DEFAULT_NUM_CTX=8192
155
140
156
141
Use the provided NPM scripts:
157
142
```bash
158
-
npm run dockerbuild # Development build
159
-
npm run dockerbuild:prod # Production build
143
+
npm run dockerbuild
160
144
```
161
145
162
146
Alternatively, use Docker commands directly:
163
147
```bash
164
-
docker build . --target bolt-ai-development # Development build
165
-
docker build . --target bolt-ai-production # Production build
148
+
docker build . --target bolt-ai-development
166
149
```
167
150
168
151
2. **Run the Container**:
169
152
Use Docker Compose profiles to manage environments:
170
153
```bash
171
-
docker-compose --profile development up # Development
172
-
docker-compose --profile production up # Production
154
+
docker-compose --profile development up
173
155
```
174
156
175
157
- With the development profile, changes to your code will automatically reflect in the running container (hot reloading).
176
158
177
159
---
178
160
161
+
### Entering API Keys
162
+
163
+
All of your API Keys can be configured directly in the application. Just selecte the provider you want from the dropdown and click the pencile icon to enter your API key.
164
+
165
+
---
166
+
179
167
### Update Your Local Version to the Latest
180
168
181
169
To keep your local version of bolt.diy up to date with the latest changes, follow these steps for your operating system:
@@ -236,4 +224,4 @@ Explore upcoming features and priorities on our [Roadmap](https://roadmap.sh/r/o
236
224
237
225
## FAQ
238
226
239
-
For answers to common questions, visit our [FAQ Page](FAQ.md).
227
+
For answers to common questions, issues, and to see a list of recommended models, visit our [FAQ Page](FAQ.md).
0 commit comments