mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
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
This commit is contained in:
commit
75f4a6ce10
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