Skip to content

Commit 75f4a6c

Browse files
authored
Merge pull request #952 from RooVetGit/allow_emptying_out_built_in_custom_instructions
Allow users to clear out custom instructions for the built-in modes
2 parents 4a86789 + 9e5c6b1 commit 75f4a6c

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)