Skip to content

Commit

Permalink
refactor: remove unsued code
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Sep 29, 2024
1 parent 2a340f5 commit 66fe1b6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions web/core/lib/editor/prompts/article-prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
DefinedVariable,
FacetType,
OutputForm,
PromptAction,
PromptAction,
} from "@/editor/defs/custom-action.type";

export const ToolbarMenuPrompts: PromptAction[] = [
Expand Down Expand Up @@ -60,13 +60,6 @@ export const SlashCommandsPrompts: PromptAction[] = [
template: `You are an assistant helping a user write a document. Output how the document continues, no more than 3 sentences. ###{{${DefinedVariable.BEFORE_CURSOR}}}###`,
facetType: FacetType.SLASH_COMMAND,
outputForm: OutputForm.STREAMING,
},
{
name: 'Look up',
i18Name: true,
template: `You are an assistant helping a user look up a word. Output in markdown format. ###{{${DefinedVariable.BEFORE_CURSOR}}}###`,
facetType: FacetType.SLASH_COMMAND,
outputForm: OutputForm.STREAMING
}
]

Expand Down

0 comments on commit 66fe1b6

Please sign in to comment.