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: src/utils/ui/modeUtils.ts
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,12 @@ import type { ToolPolicy } from "@/utils/tools/toolPolicy";
5
5
* System instruction for Plan Mode
6
6
* Extracted as constant to avoid duplication across sendMessageOptions builders
7
7
*/
8
-
exportconstPLAN_MODE_INSTRUCTION=
9
-
"You are in Plan Mode. You may use tools to research and understand the task, but you MUST call the propose_plan tool with your findings before completing your response. Do not provide a text response without calling propose_plan.";
8
+
exportconstPLAN_MODE_INSTRUCTION=`You are in Plan Mode. You may use tools to research and understand the task, but you MUST call the propose_plan tool with your findings before completing your response. Do not provide a text response without calling propose_plan.
9
+
10
+
Do not make edits in plan mode. You may have tools like bash but only use them for read-only operations. This rule on edits applies beyond files. Do not create side effects of any kind in plan mode.
11
+
12
+
If the user suggests that you should make edits, ask them to changes modes first!
0 commit comments