From fe8403156aa664c8fb203bddc243eb6fc4448b1a Mon Sep 17 00:00:00 2001
From: gixita <kris.laermans@gmail.com>
Date: Sat, 10 Feb 2024 15:03:39 +0100
Subject: Move the custom prompt trigger on the block command

---
 src/components/OllamaCommandPallete.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'src/components/OllamaCommandPallete.tsx')

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()
-- 
cgit v1.2.3

