diff options
| author | gixita <kris.laermans@gmail.com> | 2024-02-10 15:03:39 +0100 |
|---|---|---|
| committer | gixita <kris.laermans@gmail.com> | 2024-02-10 15:03:39 +0100 |
| commit | fe8403156aa664c8fb203bddc243eb6fc4448b1a (patch) | |
| tree | 0b85aea29fe83abe0cb2aa3eae42c7710f97b57a /src/App.tsx | |
| parent | fc1d6985c9eb0c31b8ea05244e4a270d9ec8ffaa (diff) | |
| download | ollama-logseq-fe8403156aa664c8fb203bddc243eb6fc4448b1a.tar.xz ollama-logseq-fe8403156aa664c8fb203bddc243eb6fc4448b1a.zip | |
Move the custom prompt trigger on the block command
Diffstat (limited to 'src/App.tsx')
| -rw-r--r-- | src/App.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.tsx b/src/App.tsx index 0fb9984..230bc80 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -15,7 +15,6 @@ const options = [ 'Divide into subtasks', 'Summarize', 'Summarize Block', - 'Custom prompt on block', 'Convert to flash card', ]; @@ -64,6 +63,7 @@ function App() { logseq.Editor.registerBlockContextMenuItem("Ollama: Create a flash card", convertToFlashCardFromEvent) logseq.Editor.registerBlockContextMenuItem("Ollama: Divide into subtasks", DivideTaskIntoSubTasksFromEvent) logseq.Editor.registerBlockContextMenuItem("Ollama: Prompt from Block", promptFromBlockEventClosure()) + logseq.Editor.registerBlockContextMenuItem("Ollama: Custom prompt on Block", promptFromBlockEventClosure(logseq.settings.custom_prompt_block)) logseq.Editor.registerBlockContextMenuItem("Ollama: Summarize block", promptFromBlockEventClosure("Summarize: ")) logseq.Editor.registerBlockContextMenuItem("Ollama: Expand Block", promptFromBlockEventClosure("Expand: ")) |
