aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-11-23 19:28:27 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-11-23 19:28:27 +0200
commit611881839990a284ea15c8465dc42f1326f8a98c (patch)
tree874e8de94996a700dbf5294ed33f8468843b85ac /src/components
parent13b20a208205f5682f50b6ea1f5d010aea7a7e7c (diff)
downloadollama-logseq-611881839990a284ea15c8465dc42f1326f8a98c.tar.xz
ollama-logseq-611881839990a284ea15c8465dc42f1326f8a98c.zip
Enhanced flashcard genertation
Diffstat (limited to 'src/components')
-rw-r--r--src/components/OllamaCommandPallete.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/OllamaCommandPallete.tsx b/src/components/OllamaCommandPallete.tsx
index b251318..10e3418 100644
--- a/src/components/OllamaCommandPallete.tsx
+++ b/src/components/OllamaCommandPallete.tsx
@@ -6,7 +6,7 @@ import {
CommandItem,
CommandList,
} from "@/components/ui/command"
-import { convertToFlashCard, DivideTaskIntoSubTasks, summarize, summarizeBlock } from "@/ollama";
+import { convertToFlashCard, convertToFlashCardCurrentBlock, DivideTaskIntoSubTasks, summarize, summarizeBlock } from "@/ollama";
import { PromptAI } from "./PromptAI";
export function OllamaCommandPallete({ options, theme }: { options: string[], theme: string }) {
@@ -30,7 +30,7 @@ export function OllamaCommandPallete({ options, theme }: { options: string[], th
break;
case "convert to flash card":
logseq.hideMainUI()
- convertToFlashCard()
+ convertToFlashCardCurrentBlock()
break;
default:
break;