aboutsummaryrefslogtreecommitdiff
path: root/src/components/OllamaCommandPallete.tsx
diff options
context:
space:
mode:
authorgixita <kris.laermans@gmail.com>2024-02-10 15:03:39 +0100
committergixita <kris.laermans@gmail.com>2024-02-10 15:03:39 +0100
commitfe8403156aa664c8fb203bddc243eb6fc4448b1a (patch)
tree0b85aea29fe83abe0cb2aa3eae42c7710f97b57a /src/components/OllamaCommandPallete.tsx
parentfc1d6985c9eb0c31b8ea05244e4a270d9ec8ffaa (diff)
downloadollama-logseq-fe8403156aa664c8fb203bddc243eb6fc4448b1a.tar.xz
ollama-logseq-fe8403156aa664c8fb203bddc243eb6fc4448b1a.zip
Move the custom prompt trigger on the block command
Diffstat (limited to 'src/components/OllamaCommandPallete.tsx')
-rw-r--r--src/components/OllamaCommandPallete.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/OllamaCommandPallete.tsx b/src/components/OllamaCommandPallete.tsx
index d721892..e8e9c42 100644
--- a/src/components/OllamaCommandPallete.tsx
+++ b/src/components/OllamaCommandPallete.tsx
@@ -6,7 +6,7 @@ import {
CommandItem,
CommandList,
} from "@/components/ui/command"
-import { convertToFlashCardCurrentBlock, DivideTaskIntoSubTasksCurrentBlock, summarize, summarizeBlock, customPromptBlock } from "@/ollama";
+import { convertToFlashCardCurrentBlock, DivideTaskIntoSubTasksCurrentBlock, summarize, summarizeBlock } from "@/ollama";
import { PromptAI } from "./PromptAI";
export function OllamaCommandPallete({ options, theme }: { options: string[], theme: string }) {
@@ -28,10 +28,6 @@ export function OllamaCommandPallete({ options, theme }: { options: string[], th
logseq.hideMainUI()
summarizeBlock()
break;
- case "custom prompt on block":
- logseq.hideMainUI()
- customPromptBlock()
- break;
case "convert to flash card":
logseq.hideMainUI()
convertToFlashCardCurrentBlock()