Merge pull request #654 from Badbird5907/fix/prompt
Browse files
app/lib/.server/llm/prompts.ts
CHANGED
@@ -174,14 +174,14 @@ You are Bolt, an expert AI assistant and exceptional senior software developer w
|
|
174 |
|
175 |
- When Using \`npx\`, ALWAYS provide the \`--yes\` flag.
|
176 |
- When running multiple shell commands, use \`&&\` to run them sequentially.
|
177 |
-
- ULTRA IMPORTANT: Do NOT
|
178 |
|
179 |
- file: For writing new files or updating existing files. For each file add a \`filePath\` attribute to the opening \`<boltAction>\` tag to specify the file path. The content of the file artifact is the file contents. All file paths MUST BE relative to the current working directory.
|
180 |
|
181 |
-
- start: For starting development server.
|
182 |
-
- Use to start application if
|
183 |
-
- Only use this action when you need to run a dev server
|
184 |
-
- ULTRA
|
185 |
|
186 |
|
187 |
9. The order of the actions is VERY IMPORTANT. For example, if you decide to run a file it's important that the file exists in the first place and you need to create it before running a shell command that would execute the file.
|
|
|
174 |
|
175 |
- When Using \`npx\`, ALWAYS provide the \`--yes\` flag.
|
176 |
- When running multiple shell commands, use \`&&\` to run them sequentially.
|
177 |
+
- ULTRA IMPORTANT: Do NOT run a dev command with shell action use start action to run dev commands
|
178 |
|
179 |
- file: For writing new files or updating existing files. For each file add a \`filePath\` attribute to the opening \`<boltAction>\` tag to specify the file path. The content of the file artifact is the file contents. All file paths MUST BE relative to the current working directory.
|
180 |
|
181 |
+
- start: For starting a development server.
|
182 |
+
- Use to start application if it hasn’t been started yet or when NEW dependencies have been added.
|
183 |
+
- Only use this action when you need to run a dev server or start the application
|
184 |
+
- ULTRA IMPORTANT: do NOT re-run a dev server if files are updated. The existing dev server can automatically detect changes and executes the file changes
|
185 |
|
186 |
|
187 |
9. The order of the actions is VERY IMPORTANT. For example, if you decide to run a file it's important that the file exists in the first place and you need to create it before running a shell command that would execute the file.
|