We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d57e64e commit 9a7ee33Copy full SHA for 9a7ee33
webview-ui/src/components/prompts/PromptsView.tsx
@@ -567,7 +567,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
567
value={(() => {
568
const customMode = findModeBySlug(visualMode, customModes)
569
const prompt = customModePrompts?.[visualMode] as PromptComponent
570
- return customMode?.roleDefinition ?? prompt?.roleDefinition ?? getRoleDefinition(mode)
+ return customMode?.roleDefinition ?? prompt?.roleDefinition ?? getRoleDefinition(visualMode)
571
})()}
572
onChange={(e) => {
573
const value =
0 commit comments