diff options
| author | Omar Magdy <99906646+omagdy7@users.noreply.github.com> | 2024-02-14 17:22:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-14 17:22:40 +0200 |
| commit | 4f1971020d43d0958973712212f17bd9d51a1834 (patch) | |
| tree | 3099bc4223d9c39062b6f4d077809bccb88c8219 /src/App.tsx | |
| parent | 842fcd159675c4091952277526844b1eebf6df18 (diff) | |
| parent | f07b00c527db2947f49d4ea592018902d391d55f (diff) | |
| download | ollama-logseq-4f1971020d43d0958973712212f17bd9d51a1834.tar.xz ollama-logseq-4f1971020d43d0958973712212f17bd9d51a1834.zip | |
Merge pull request #16 from gixita/master
feat: Add custom prompt defined in configuration to apply on block
Diffstat (limited to 'src/App.tsx')
| -rw-r--r-- | src/App.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.tsx b/src/App.tsx index 0a32968..230bc80 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -63,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: ")) |
