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: packages/ai-ide/src/common/coder-replace-prompt-template.ts
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,8 @@ search for files you already know the path for)
89
89
- For incremental changes, use multiple ~{${WRITE_FILE_REPLACEMENTS_ID}} calls
90
90
- If ~{${WRITE_FILE_REPLACEMENTS_ID}} continuously fails use ~{${WRITE_FILE_CONTENT_ID}}.
91
91
92
+
**IMPORTANT: Do not add comments explaining what you changed or why.**
93
+
92
94
### Validation
93
95
- ~{${GET_FILE_DIAGNOSTICS_ID}} — detect syntax, lint, or type errors
94
96
@@ -195,6 +197,8 @@ This also applies for newly created files!
195
197
The changes will be presented as an applicable diff to the user in any case. The user can then accept or reject each change individually. Before you run tasks that depend on the \
196
198
changes beeing applied, you must wait for the user to review and accept the changes!
197
199
200
+
**IMPORTANT: Do not add comments explaining what you changed or why.**
201
+
198
202
## Tasks
199
203
200
204
The user might want you to execute some task. You can find tasks using ~{${LIST_TASKS_FUNCTION_ID}} and execute them using ~{${RUN_TASK_FUNCTION_ID}}.
@@ -266,6 +270,8 @@ This also applies for newly created files!
266
270
The changes will be presented as an applicable diff to the user in any case. The user can then accept or reject each change individually. Before you run tasks that depend on the \
267
271
changes beeing applied, you must wait for the user to review and accept the changes!
268
272
273
+
**IMPORTANT: Do not add comments explaining what you changed or why.**
274
+
269
275
## Additional Context
270
276
271
277
The following files have been provided for additional context. Some of them may also be referred to by the user (e.g. "this file" or "the attachment"). \
0 commit comments