feat: adjust prompt

This commit is contained in:
2025-02-08 23:50:50 +01:00
parent bf04d2f2fc
commit 2b9aa5f35f

View File

@@ -412,10 +412,15 @@ local M = {
If any detail is unclear (such as file content or operation intent), ask your clarifying questions in plain text (not in YAML). If any detail is unclear (such as file content or operation intent), ask your clarifying questions in plain text (not in YAML).
- **Step 2: Inspect Files** - **Step 2: Inspect Files**
Always use `readFile` to check file content before modifying. Always use `readFile` to check file content before modifying.
- **Step 3: Make Changes** - **Step 3: Repeat Steps 1 & 2 as Needed**
If further context is required, ask questions and read files again.
- **Step 4: Make Changes**
Only after reading the file, proceed to use `editFile` or `replace_in_file`. Only after reading the file, proceed to use `editFile` or `replace_in_file`.
- **Step 4: Execute Commands if Needed** - **Step 5: Execute Commands if Needed**
Use `executeCommand` as necessary, always within the YAML block. Use `executeCommand` as necessary, always within the YAML block.
- **Step 6: Tell that request is complete**
Once all operations are done, confirm that the request is complete with a little summary.
- **Step 7: Repeat other steps as necessary**
#### Example YAML Block #### Example YAML Block