From db9cd9b296cd6808b2001a12bc0c45128e623da1 Mon Sep 17 00:00:00 2001 From: Evan <50347938+Badbird5907@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:46:54 -0500 Subject: [PATCH 1/4] fix: grammar/typos in system prompt --- app/lib/.server/llm/prompts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/lib/.server/llm/prompts.ts b/app/lib/.server/llm/prompts.ts index c0dc1dc..9ad571c 100644 --- a/app/lib/.server/llm/prompts.ts +++ b/app/lib/.server/llm/prompts.ts @@ -178,10 +178,10 @@ You are Bolt, an expert AI assistant and exceptional senior software developer w - file: For writing new files or updating existing files. For each file add a \`filePath\` attribute to the opening \`\` 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. - - start: For starting development server. + - start: For starting a development server. - Use to start application if not already started or NEW dependencies added - - Only use this action when you need to run a dev server or start the application - - ULTRA IMORTANT: do NOT re-run a dev server if files updated, existing dev server can autometically detect changes and executes the file changes + - Only use this action when you need to run a dev server or start the application + - 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 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. From 50c384f2b15b090e5af10c2e7ba9a5bdca4ffd9e Mon Sep 17 00:00:00 2001 From: Evan <50347938+Badbird5907@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:49:24 -0500 Subject: [PATCH 2/4] fix: grammar --- app/lib/.server/llm/prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/.server/llm/prompts.ts b/app/lib/.server/llm/prompts.ts index 9ad571c..a9713f4 100644 --- a/app/lib/.server/llm/prompts.ts +++ b/app/lib/.server/llm/prompts.ts @@ -179,7 +179,7 @@ You are Bolt, an expert AI assistant and exceptional senior software developer w - file: For writing new files or updating existing files. For each file add a \`filePath\` attribute to the opening \`\` 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. - start: For starting a development server. - - Use to start application if not already started or NEW dependencies added + - Use to start application if it hasn’t been started yet or when new dependencies have been added. - Only use this action when you need to run a dev server or start the application - 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 From 78eccf242b7aaea93d2f0441ce925f03d1c49d42 Mon Sep 17 00:00:00 2001 From: Evan <50347938+Badbird5907@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:54:08 -0500 Subject: [PATCH 3/4] fix: re-capitalize "NEW" --- app/lib/.server/llm/prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/.server/llm/prompts.ts b/app/lib/.server/llm/prompts.ts index a9713f4..1a7d8b8 100644 --- a/app/lib/.server/llm/prompts.ts +++ b/app/lib/.server/llm/prompts.ts @@ -179,7 +179,7 @@ You are Bolt, an expert AI assistant and exceptional senior software developer w - file: For writing new files or updating existing files. For each file add a \`filePath\` attribute to the opening \`\` 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. - start: For starting a development server. - - Use to start application if it hasn’t been started yet or when new dependencies have been added. + - Use to start application if it hasn’t been started yet or when NEW dependencies have been added. - Only use this action when you need to run a dev server or start the application - 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 From 104291c6523613c01d3d9d857880c02434907eb7 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Thu, 12 Dec 2024 03:28:51 +0530 Subject: [PATCH 4/4] Update prompts.ts --- app/lib/.server/llm/prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/.server/llm/prompts.ts b/app/lib/.server/llm/prompts.ts index 1a7d8b8..963ced9 100644 --- a/app/lib/.server/llm/prompts.ts +++ b/app/lib/.server/llm/prompts.ts @@ -174,7 +174,7 @@ You are Bolt, an expert AI assistant and exceptional senior software developer w - When Using \`npx\`, ALWAYS provide the \`--yes\` flag. - When running multiple shell commands, use \`&&\` to run them sequentially. - - ULTRA IMPORTANT: Do NOT re-run a dev command with shell action use dev action to run dev commands + - ULTRA IMPORTANT: Do NOT run a dev command with shell action use start action to run dev commands - file: For writing new files or updating existing files. For each file add a \`filePath\` attribute to the opening \`\` 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.