mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
Allow users to clear out custom instructions for the built-in modes
This commit is contained in:
parent
e39b006330
commit
9e5c6b170c
2 changed files with 6 additions and 1 deletions
5
.changeset/orange-geese-provide.md
Normal file
5
.changeset/orange-geese-provide.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Allow users to clear out custom instructions for the built-in modes
|
||||
|
|
@ -804,7 +804,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
|
|||
const existingPrompt = customModePrompts?.[mode] as PromptComponent
|
||||
updateAgentPrompt(mode, {
|
||||
...existingPrompt,
|
||||
customInstructions: value.trim() || undefined,
|
||||
customInstructions: value.trim(),
|
||||
})
|
||||
}
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue