Skip to content

Commit

Permalink
refactor(editor): remove 'Translate' prompt from BubbleMenuPrompts
Browse files Browse the repository at this point in the history
This commit eliminates the 'Translate' prompt from the BubbleMenuPrompts array in the article-prompts.ts file, effectively
  • Loading branch information
phodal committed Oct 9, 2024
1 parent 9b03d2c commit ed5de75
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions web/core/lib/editor/prompts/article-prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,7 @@ export const ToolbarMenuPrompts: PromptAction[] = [
},
];

export const BubbleMenuPrompts: PromptAction[] = [
{
name: 'Translate',
i18Name: true,
template: `You are an assistant helping to translate a sentence. Output in markdown format. \n ###\${${DefinedVariable.SELECTION}}###`,
facetType: FacetType.BUBBLE_MENU,
outputForm: OutputForm.STREAMING,
}
];
export const BubbleMenuPrompts: PromptAction[] = [];

export const SlashCommandsPrompts: PromptAction[] = [
{
Expand Down

0 comments on commit ed5de75

Please sign in to comment.