Skip to content

Commit 9e5c6b1

Browse files
committed
Allow users to clear out custom instructions for the built-in modes
1 parent e39b006 commit 9e5c6b1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/orange-geese-provide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Allow users to clear out custom instructions for the built-in modes

webview-ui/src/components/prompts/PromptsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
804804
const existingPrompt = customModePrompts?.[mode] as PromptComponent
805805
updateAgentPrompt(mode, {
806806
...existingPrompt,
807-
customInstructions: value.trim() || undefined,
807+
customInstructions: value.trim(),
808808
})
809809
}
810810
}}

0 commit comments

Comments
 (0)